Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rabbitmq connection setup expose channel rpc timeout #192

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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