camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "edge wang (JIRA)" <>
Subject [jira] [Commented] (CAMEL-4367) Camel-netty option "encoder" and "decoder" does not work
Date Tue, 23 Aug 2011 07:50:29 GMT


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,
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:
>             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

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message