[rabbitmq-discuss] dropped messages on low volume

Matthew Sackman matthew at lshift.net
Wed Jul 1 16:14:54 BST 2009

On Wed, Jul 01, 2009 at 04:03:15PM +0100, Joel Reymont wrote:
> On Jul 1, 2009, at 3:57 PM, Matthew Sackman wrote:
> >We're wondering whether you're using the same channel or
> >connection for
> >all of your clients?
> On the publishing end I do:
>     Con = lib_amqp:start_connection(Rabbit),
>     Chan = lib_amqp:start_channel(Con),
> On the client end I do:
>     Conn = amqp_manager:get_connection(),
>     Chan = lib_amqp:start_channel(Conn),
> The client end shares the connection cached by amqp_manager but
> starts a separate channel.

Sorry Joel but we're still guessing what the total code looks like
here. Please can you send us enough of it so that we can reproduce
the problem?

It's perfectly fine to share a connection between processes but if you
shut the connection then all the channels on that connection will die.


More information about the rabbitmq-discuss mailing list