You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Pablo Szuster (JIRA)" <ji...@apache.org> on 2017/07/26 15:42:00 UTC
[jira] [Created] (CAMEL-11603) Netty4 consumer in clientMode=true
doesn't share channel with subsequent netty4 producers using
reuseChannel=true
Pablo Szuster created CAMEL-11603:
-------------------------------------
Summary: Netty4 consumer in clientMode=true doesn't share channel with subsequent netty4 producers using reuseChannel=true
Key: CAMEL-11603
URL: https://issues.apache.org/jira/browse/CAMEL-11603
Project: Camel
Issue Type: Improvement
Components: camel-netty4
Affects Versions: 2.18.1
Reporter: Pablo Szuster
When creating a route that begins with a Netty4 consumer in clientMode=true, it doesn't share its created channel with the following netty4 producers that want to send data using the same channel, using parameter reuseChannel=true.
A simple solution would be to include a parameter for the Netty4 Consumer component, and in ClientModeTCPNettyServerBootstrapFactory add something like this when channel is opened:
exchange.setProperty(NettyConstants.NETTY_CHANNEL, channel);
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)