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)

Reply via email to