[rabbitmq-discuss] Using java threadlocal for channels

rails stammailbox at gmail.com
Fri Mar 21 19:55:12 GMT 2014


In my system I receive http request to my web server and therefore a new
thread is opened for every process.
Now, I understand that I would better open a channel for each thread.
So I use java Threadlocal for channel.

Will this slow me down?
Is there a better way than opening a channel (and closing it for each http
request)?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140321/0c325b61/attachment.html>


More information about the rabbitmq-discuss mailing list