How does a channel pool wire in to a netty 4.1.5 client?

28 views
Skip to first unread message

steve....@synergistcomputing.com

unread,
Dec 13, 2016, 11:13:58 AM12/13/16
to Netty discussions
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
Reply all
Reply to author
Forward
0 new messages