You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2010/04/22 10:51:23 UTC

[jira] Resolved: (CAMEL-2657) Allow multiple codecs to be added to Netty pipeline

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

Claus Ibsen resolved CAMEL-2657.
--------------------------------

    Resolution: Fixed

Thanks Stephen I have applied the latest patch to trunk

> 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-lists.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.