Found it from source code, the example for netty4 should be following:
class="org.apache.camel.component.netty4.NettyWorkerPoolBuilder">
factory-bean="poolBuilder" factory-method="build"
destroy-method="destroy">
Then in the Camel routes we can refer to this worker pools by
con
Hi Willem,
I just tried sharing the workerpool as per docs of netty4
(http://camel.apache.org/netty4.html) however the class mentioned in
example (org.jboss.netty.channel.socket.nio.WorkerPool) for sharing of
worker pools doesn't exist in netty4. I have camel-netty4 as a
dependency in maven an
Hi,
I just checked the code of camel-netty4, the workerGroup can be share between
the consumers and producers if the option is specified otherwise camel creates
a new workerGroup per consumer or producer.
The wiki doc is updated, I will commit a quick fix to the camel netty component.
--
Will
Hi Everyone,
I am trying to use netty4-http (in producer mode) to connect to remote
services. Apparently in my use case there are number of different remote
services (more than 30 in total) I have to talk to. To keep the threads
management under direct control, I was hoping to use same thread p