Allow multiple codecs to be added to Netty pipeline
---------------------------------------------------
Key: CAMEL-2657
URL: https://issues.apache.org/activemq/browse/CAMEL-2657
Project: Apache Camel
Issue Type: Bug
Affects Versions: 2.3.0
Reporter: Stephen Gargan
Priority: Minor
The current endpoint configuration only allows for the configuration of a
single encoder or decoder and so does not support scenarios that require more
than a single encoder or decoder e.g. protobuf handlers with a frame decoders
and encoders.
The attached patch adds a couple of extra config params 'encoders' and
'decoders' that lookup lists of ChannelHandlers from the registry and adds each
entry from these lists to the pipeline . The existing 'encoder' and 'decoder'
params are still supported though the new params will override in the cases
where both are supplied.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.