Skip to content
Back to formatted view

Raw Message

Message-ID: <ldqui6$pv3$1@ger.gmane.org>
Date: 2014-02-16T18:04:04Z
From: Matwey V. Kornilov
Subject: 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.