[ 
https://issues.apache.org/activemq/browse/CAMEL-2657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stephen Gargan updated CAMEL-2657:
----------------------------------

    Attachment: spring-codecs.patch
                netty-codecs

I've attached a test that uses spring to define the encoder and decoder lists. 
The wiki is not working for me so I'll upload the wiki comments here for now 
and will add them once its back up again. 

> 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: Improvement
>    Affects Versions: 2.3.0
>            Reporter: Stephen Gargan
>            Assignee: Stephen Gargan
>            Priority: Minor
>             Fix For: 2.3.0
>
>         Attachments: multiple.patch, netty-codecs, spring-codecs.patch
>
>
> 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.

Reply via email to