Hi Ah yeah in the old 2.8.1 its using the default thread pool which as 10-20 as default setting. You can configure the default thread pool profile to have a higher values as documented here http://camel.apache.org/threading-model.html
On Thu, Apr 18, 2013 at 2:18 PM, Claus Ibsen <[email protected]> wrote: > 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 -- 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
