This should be fixed in 3.6.x

Il mer 7 ott 2020, 21:47 Yifan Wu <yifan...@sas.com.invalid> ha scritto:

> Hi,
>
> I am trying to use Netty Spring boot autoconfiguration.  I want to set
> encoders in the properties with the following line.
> camel.component.netty.encoders=#myCustomEncoder
>
> I have my bean defined:
> <bean id="myCustomEncoder"
> class="io.netty.handler.codec.string.StringEncoder"/>
>
> The Camel application failed to start because:
>
> Failed to bind properties under 'camel.component.netty.encoders' to
> java.util.List<io.netty.channel.ChannelHandler>:
>     Reason: No converter found capable of converting from type
> [java.lang.String] to type [java.util.List<io.netty.channel.ChannelHandler>]
>
>
> Any help is appreciated.
>
> Thanks
> Yifan
>

Reply via email to