On 11/28/2012 08:11 PM, trivedi_ravi13 wrote:
I have observed that a new thread is being created every time a new
connection to the qpid broker is opened. I am using messaging APIs. Is there
any way to restrict or stop it from creating new threads? Let's say when we
have large number of connections?
e.g
connection connection ("127.0.0.1:5672");
connection.open();
Thanks in Advance,
There is a thread pool that grows with connections up to a configurable
maximum size (I believe the default is the number of cpus). The
configuration option through which you change the maximum value is
max-iothread or QPID_MAX_IOTHREADS as an environment variable.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]