[rabbitmq-discuss] Reusing a channel or creating new ones

Alvaro Videla videlalvaro at gmail.com
Fri May 2 01:17:51 BST 2014


Hi,

There's no need to open a new channel for every message published, in
fact, it will be faster to use the same channel.

About message acks, you have to send the acks on the same channel
where the message where received, since the delivery tags of messages
are scoped per channel.

Regards,

Alvaro

On Fri, May 2, 2014 at 12:57 AM, Martin Koroudjiev
<mrtndimitrov at gmail.com> wrote:
> Hello,
>
> Should I reuse the channel when sending messages or create a new one for
> each send operation? Do I keep it around while listening for messages
> and acknowledging them with the old channel or should I create a new one
> for the acknowledge operation?
>
> Thanks,
>
> Martin
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss


More information about the rabbitmq-discuss mailing list