[rabbitmq-discuss] Limitations with RabbitMQ Java Client

Simon MacMullen simon at rabbitmq.com
Wed Oct 23 10:18:09 BST 2013


On 22/10/13 18:38, Michael Klishin wrote:
>> >Is this true for all rabbit java client connections?
> All connections have an I/O thread. Consumer work pool can take an executor of your choice
> but it can't have less than 1 thread.

Although note that you can share an ExecutorService across Connections 
(by creating them with ConnectionFactory.newConnection(ExecutorService)) 
so the practical limit is one thread (the IO thread) per connection.

Cheers, Simon

-- 
Simon MacMullen
RabbitMQ, Pivotal


More information about the rabbitmq-discuss mailing list