Multiple worker thread is been spawned in camel-netty endpoint

sachin2713 at gmail.com sachin2713 at gmail.com
Tue Jul 26 08:34:27 EDT 2011


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://netty-forums-and-mailing-lists.685743.n2.nabble.com/Multiple-worker-thread-is-been-spawned-in-camel-netty-endpoint-tp6622024p6622024.html
Sent from the Netty User Group mailing list archive at Nabble.com.


More information about the netty-users mailing list