Hello. I am using camel, and I would like to limit outgoing TCP connections by using a FixedChannelPool, although I am not sure how to wire this into the camel component. I can specify a few things to customize within the client:
- executorService (EventExecutorGroup)
- bossGroup (EventLoopGroup)
- workerGroup (EventLoopGroup)
- channelGroup (ChannelGroup)
Since I am using netty as a client, how can I create a FixedChannelPool and ensure that the workerGroup uses it? Is this the right approach? I have looked at examples of SimpleChannelPool and FixedChannelPool, but I am not sure how to apply it to the Camel component. With the objects that I can set, what might be my best option?
Thanks,
Steve