You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Vincenzo Galluccio (Jira)" <ji...@apache.org> on 2022/02/23 15:49:00 UTC
[jira] [Created] (CAMEL-17704) camel-netty-starter - Unable to set camel.component.netty.decoders
Vincenzo Galluccio created CAMEL-17704:
------------------------------------------
Summary: camel-netty-starter - Unable to set camel.component.netty.decoders
Key: CAMEL-17704
URL: https://issues.apache.org/jira/browse/CAMEL-17704
Project: Camel
Issue Type: Bug
Components: camel-netty, camel-spring-boot-starters
Affects Versions: 3.14.1
Reporter: Vincenzo Galluccio
When using {{{}camel-netty-starter{}}}, and I'm having issues with {{camel.component.netty.decoders}} property. I get the following error:
{{Failed to bind properties under 'camel.component.netty.decoders' to jav
a.util.List<io.netty.channel.ChannelHandler>: No converter found capable of converting from type [java.lang.String] to type [java.util.List<io.netty.channel.ChannelHandler>]}}
This is how I set the property:
{{camel.component.netty.decoders=#myDecoder}}
{{When I use the {{decoders}} query parameter it works fine:}}
{{{{netty:tcp://localhost:9999?decoders=#myDecoder}}}}
{{I assume the issue also affects {{camel.component.netty.encoders}} property}}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)