Skip to content

Rabbitmq connection setup expose channel rpc timeout#192

Open
livius-ungureanu wants to merge 2 commits intoSpinGo:masterfrom
Metaswitch:rabbitmq-connection-setup-expose-channelRpcTimeout
Open

Rabbitmq connection setup expose channel rpc timeout#192
livius-ungureanu wants to merge 2 commits intoSpinGo:masterfrom
Metaswitch:rabbitmq-connection-setup-expose-channelRpcTimeout

Conversation

@livius-ungureanu
Copy link

Problem:

The AMQP drivers executes an AMQP command within a certain amount of time (i.e. ConnectionFactory.DEFAULT_CHANNEL_RPC_TIMEOUT). Op-rabbit should allow the op-rabbit user to set this timeout according to his needs. In order to achieve this com.spingo.op_rabbit.ConnectionParams should expose it in the last parameter of the constructor:

channelRpcTimeout: Int = ConnectionFactory.DEFAULT_CHANNEL_RPC_TIMEOUT

This also ensures backward compatibility.

@timcharper this is branched off rabbitmq-connection-setup-callback which is waiting for merge approval into master.

@livius-ungureanu livius-ungureanu force-pushed the rabbitmq-connection-setup-expose-channelRpcTimeout branch from cab5bcc to cc12f09 Compare September 3, 2020 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant