[
https://issues.apache.org/jira/browse/CAMEL-8702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14513446#comment-14513446
]
Willem Jiang commented on CAMEL-8702:
-------------------------------------
You can configure the wokerGroup option to setup a custom eventloop across the
all the NettyProducer, in this way the NettyProducer are sharing this workGroup
across the NettyEndpoint, and we just need shutdown it when the whole
application is shutdown.
I will commit a quick fix it incase the user doesn't setup the workGroup option
to let the producer show the workerGroup across the NettyProducer.
> when occurs "Connection reset by peer",netty4 client's EventLoopGroup select
> thread won't shut down
> ---------------------------------------------------------------------------------------------------
>
> Key: CAMEL-8702
> URL: https://issues.apache.org/jira/browse/CAMEL-8702
> Project: Camel
> Issue Type: Bug
> Components: camel-netty4
> Affects Versions: 2.15.0, 2.15.1
> Reporter: HugoMarco
> Assignee: Willem Jiang
>
> I used netty4 and netty4http as producer ,when occurs exception "Connection
> reset by peer",netty4 client's EventLoopGroup "Selector" thread and related
> port won't shut down.I used thread dump and found ClientChannelHandler's
> method exceptionCaught just close channel,it won't close "Selector" thread
> and port, and the same to
> NettyProducer.NettyProducerPoolableObjectFactory.destroyObject.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)