You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2017/09/12 13:24:00 UTC
[jira] [Resolved] (CAMEL-11603) Netty4 consumer in clientMode=true
doesn't share channel with subsequent netty4 producers using
reuseChannel=true
[ https://issues.apache.org/jira/browse/CAMEL-11603?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-11603.
---------------------------------
Resolution: Fixed
The channel is now stored on the exchange if the consumer is in client mode
> 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
> Assignee: Claus Ibsen
> Fix For: 2.20.0
>
>
> 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)