[rabbitmq-discuss] dropped messages on low volume

Joel Reymont joelr1 at gmail.com
Wed Jul 1 16:03:15 BST 2009


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.

Is this proper?

	Thanks, Joel

---
Mac hacker with a performance bent
http://www.linkedin.com/in/joelreymont





More information about the rabbitmq-discuss mailing list