All,
I am trying to bind a queue with multiple binding keys. However, not all keys are known upfront. So, I do amqp_queue_bind
with one known key and then amqp_basic_consume
and later amqp_queue_bind
again whren second key is known.
The second amqp_queue_bind
gets stuck and on getting core of my process using SIGSEGV, I see following stack trace:
poll
recv_with_timeout
wait_frame_inner
amqp_simple_rpc
amqp_simple_rpc_decoded
amqp_queue_bind
Do I need to do amqp_basic_cancel
and re-do amqp_basic_consume
if I want to add a binding key later?