Skip to content
Prev 336695 / 398513 Next

amqp_connection:open_channel link channel

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.