[rabbitmq-discuss] amqp_connection:open_channel link channel

Matwey V. Kornilov matwey.kornilov at gmail.com
Sun Feb 16 18:08:59 GMT 2014


Hi,

Is it a good practice to link the channel to the process going to 
consume the messages? I do want to close the channel when my consumer 
crashed, and let the broker to redeliver unacked message.

{ok, Channel} = amqp_connection:open_channel(Connection),
link(Channel),

Why there is no open_channel_link counterpart, as start and start_link? 
This is for case when channel goes down between open_channel and link.



More information about the rabbitmq-discuss mailing list