[rabbitmq-discuss] Best Practices using Connection and Channels
simone.busoli at gmail.com
Mon May 9 08:51:07 BST 2011
Hi Marcus, you can find some info in the Java API guide<http://www.rabbitmq.com/api-guide.html#channel-threads>.
I am going to use the .NET API soon but I didn't have time to look into the
code to tell you what pattern is good, hopefully someone else can.
BTW I can tell you what I think would be a good way to use it. If you're
familiar with NHibernate you know about session factory and session. I think
that in the same way I would like to design my application so that there is
a single connection and each thread creates its own channel, thus making the
connection the mirror of NH session factory and channel the mirror of NH
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss