[
https://issues.apache.org/jira/browse/CAMEL-4367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13089339#comment-13089339
]
Szabolcs Berecz commented on CAMEL-4367:
----------------------------------------
Hi all,
It looks like I misunderstood the documentation. Anyway, if you think it's a
good idea to use the registry for these two options, I will submit the patch.
Actually, the call to setReferenceProperties does introduce side-effects as it
will try to resolve from registry every option value with a leading "#". The
question is, do you see it as a bad thing?
If you would rather only have the "encoder" and "decoder" option resolved from
registry, I will update the patch.
Szabolcs
> 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