[ https://issues.apache.org/jira/browse/CAMEL-4367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13089331#comment-13089331 ]
edge wang commented on CAMEL-4367: ---------------------------------- Hi, all Actually I don't see it as a bug in this case, the documentation clearly says that when "encoder" and "decoder" is used, the property value should be a class' name inheriting org.jboss.netty.channel.ChannelDownStreamHandler/org.jboss.netty.channel.ChannelUpStreamHandler, if you need to resolve the class from registry, please use the "encoders" and "decoders". Although it's a good idea that the "encoder" and "decoder" property can also be resolved from registry, please make sure that the call to EndpointHelper.setReferenceProperties(component.getCamelContext(), this, parameters); doesn't introduce any side-effects. > Camel-netty option "encoder" and "decoder" does not work > -------------------------------------------------------- > > Key: CAMEL-4367 > URL: https://issues.apache.org/jira/browse/CAMEL-4367 > Project: Camel > Issue Type: Bug > Components: camel-netty > Affects Versions: 2.4.0, 2.5.0, 2.6.0, 2.7.0, 2.7.1, 2.7.2, 2.7.3, 2.8.0 > Reporter: Szabolcs Berecz > Priority: Minor > > Contrary to the documentation, the "encoder" and "decoder" option is unusable > as it's value is taken as-is instead of resolving the references using the > registry. > This bug was introduced in the revision 960621 as part of CAMEL-2907. > Patch can be found at > https://github.com/szabolcsberecz/camel/commit/b3bcc8dd284575c931048ea410c44577474e25dd -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira