You cannot configure this in camel-mina.
Its using thread pools as recommended by mina project
final int processorCount =
Runtime.getRuntime().availableProcessors() + 1;
ExecutorService acceptorPool =
getCamelContext().getExecutorServiceManager().newCachedThreadPool(this,
"MinaSocketAcceptor");
ExecutorService connectorPool =
getCamelContext().getExecutorServiceManager().newCachedThreadPool(this,
"MinaSocketConnector");
ExecutorService workerPool =
getCamelContext().getExecutorServiceManager().newCachedThreadPool(this,
"MinaThreadPool");
IoAcceptor acceptor = new SocketAcceptor(processorCount, acceptorPool);
IoConnector connector = new SocketConnector(processorCount,
connectorPool);
SocketAddress address = new
InetSocketAddress(configuration.getHost(), configuration.getPort());
On Thu, Apr 18, 2013 at 11:11 AM, Hema T <[email protected]> wrote:
> We are using Camel 2.8.1 and Camel-mina.
>
> Thanks,
> Hema
>
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/How-to-enable-thread-pool-for-Mina-Endpoint-consumer-tp5731059p5731062.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
--
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: [email protected]
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen