[ 
https://issues.apache.org/jira/browse/CAMEL-15931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17246635#comment-17246635
 ] 

Claus Ibsen commented on CAMEL-15931:
-------------------------------------

Yeah that should be fixed in 3.7, so try SNAPSHOT or wait for the 3.7 release

> Camel 3.6 fails to resolve #bean:name notation for 
> camel.component.pulsar.pulsar-client
> ---------------------------------------------------------------------------------------
>
>                 Key: CAMEL-15931
>                 URL: https://issues.apache.org/jira/browse/CAMEL-15931
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-pulsar
>    Affects Versions: 3.6.0
>         Environment: Spring boot 2.3.3
> Java 14
>            Reporter: Scott Anderson
>            Priority: Major
>
> Our system is configured with spring boot and there is a bean named 
> pulsarClient in the context. In camel pre 3.6, this configuration works:
> camel:
>   component:
>   pulsar:
>     enabled: true
>     subscription-type: SHARED
>     pulsar-client: '#bean:pulsarClient'
> In camel 3.6, it throws an exception:
> Property: camel.component.pulsar.pulsar-client
>  Value: #bean:pulsarClient
>  Origin: class path resource [application-default.yml]:112:22
>  Reason: No converter found capable of converting from type 
> [java.lang.String] to type [org.apache.pulsar.client.api.PulsarClient]
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to