You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Sachin <sa...@gmail.com> on 2011/07/26 14:35:52 UTC

Multiple worker threads are been spawned in camel-netty endpoint

HI, 

I am using Camel 2.6 with netty 3.2.3 for TCP communicaion. 
I am not using any route, just an tcp endpoint like below: 
 <endpoint id="ByteStreamTransport" uri="netty:tcp://localhost:6123?   
 connectTimeout=5000&amp;sync=false&amp;decoders=#delimeter- 
 decoder&amp;corePoolSize=1&amp;maxPoolSize=1"/>

Even though i have mentioned max pools size to 1, it's spawning new worker
thread for every connection or request. 

Please do explain differnce between handling a new connection and a new
request to a port, i have gone through all the documention but not clear.
what is the purpose of this max pool size here? 

Regards 
Sachin  



--
View this message in context: http://camel.465427.n5.nabble.com/Multiple-worker-threads-are-been-spawned-in-camel-netty-endpoint-tp4634606p4634606.html
Sent from the Camel - Users mailing list archive at Nabble.com.