[
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-lists.patch
Ignore the previous patch,use spring-codecs-lists.patch instead. Having read
the wiki and seen the comment to use the comma separated list of references I
went to see how that should be done. I've changed it to correctly use
resolveAndRemoveReferenceListParameter.
The snippets show how to use both the csv list and a java collection. I'll
update the wiki now as its working 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-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.