activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Posta <christian.po...@gmail.com>
Subject Re: How to configure channel/selector thread pools for NIOTransport?
Date Wed, 04 Sep 2013 21:35:23 GMT
I don't see a nice way to do it through configs, but there is a singleton
object of type org.apache.activemq.transport.nio.SelectorManager that
has channelExecutor and selectorExecutor  respectively. If you happen to be
using an embedded broker, you can set this in Java code.


On Wed, Sep 4, 2013 at 3:48 AM, Jake Choi <jw@yahoo-inc.com> wrote:

> Hi,
>
> Using activemq 5.6.0, and wonder how I can configure the custom thread
> pools
> for channel workers.  For example, I'd like to assign only 100 threads for
> channel event processing and with 5 selector threads.  How can I configure
> these?
>
> Thanks,
> Jake
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/How-to-configure-channel-selector-thread-pools-for-NIOTransport-tp4671147.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>



-- 
*Christian Posta*
http://www.christianposta.com/blog
twitter: @christianposta

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message