Replies: 1 comment 2 replies
-
You cannot concurrently use Direct Reply-To on a shared channel. Channels must not be shared between threads. On the RabbitMQ side, Direct Reply-To is a convention and a bit of shared channel state that does not |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I tried doing several RPC calls using channel.basic_consume to 'amq.rabbitmq.reply-to'.
However since channels are pooled I am facing an issue when doing basic_cancel after I get the response.
basic_cancel calls work_pool.shutdown(true)
The problem seems to be here. I guess the problem is that few calls stuck here since shutdown_conditional.signal may occur before shutdown_conditional.wait, so I have to wait 60s for the timeout.
bunny/lib/bunny/consumer_work_pool.rb
Line 73 in 6f8c1b0
I do not get errors but the problem is performance related. I cant think of any workaround currently.
Beta Was this translation helpful? Give feedback.
All reactions