You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Marco Santarelli (Jira)" <ji...@apache.org> on 2020/10/27 13:34:00 UTC

[jira] [Updated] (CAMEL-15766) No converter found capable of converting from type [java.lang.String] to type [org.apache.camel.component.http.HttpClientConfigurer]

     [ https://issues.apache.org/jira/browse/CAMEL-15766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marco Santarelli updated CAMEL-15766:
-------------------------------------
    Description: 
When trying to use a custom http-configurer, I believe I am experiencing a regression when upgrading to Camel 3.6.0

I am using spring-boot 2.3.4.RELEASE, and I am declaring my custom configurer bean using:
{code:java}
camel.component.http.http-client-configurer=#httpClientConfig
{code}
When updating to Camel 3.6.0, that configuration results in: 
{code:java}
***************************
APPLICATION FAILED TO START
***************************


Description:


Failed to bind properties under 'camel.component.http.http-client-configurer' to org.apache.camel.component.http.HttpClientConfigurer:


    Property: camel.component.http.http-client-configurer
    Value: httpClientConfig
    Origin: class path resource [application.properties]:1:45
    Reason: No converter found capable of converting from type [java.lang.String] to type [org.apache.camel.component.http.HttpClientConfigurer]


Action:


Update your application's configuration{code}
 

See [https://github.com/santam85/camel-3.6.0-http-configurer-bean] for a reproduction example.

  was:
When trying to use a custom http-configurer, I believe I am experiencing a regression when upgrading to Camel 3.6.0

I am using spring-boot 2.3.4.RELEASE, and I am declaring my custom configurer bean using:
{code:java}
camel.component.http.http-client-configurer=#httpClientConfig
{code}
When updating to Camel 3.6.0, that configuration results in:

 

 
{code:java}
***************************
APPLICATION FAILED TO START
***************************


Description:


Failed to bind properties under 'camel.component.http.http-client-configurer' to org.apache.camel.component.http.HttpClientConfigurer:


    Property: camel.component.http.http-client-configurer
    Value: httpClientConfig
    Origin: class path resource [application.properties]:1:45
    Reason: No converter found capable of converting from type [java.lang.String] to type [org.apache.camel.component.http.HttpClientConfigurer]


Action:


Update your application's configuration{code}
 

See [https://github.com/santam85/camel-3.6.0-http-configurer-bean] for a reproduction example.


> No converter found capable of converting from type [java.lang.String] to type [org.apache.camel.component.http.HttpClientConfigurer]
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-15766
>                 URL: https://issues.apache.org/jira/browse/CAMEL-15766
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-http
>    Affects Versions: 3.6.0
>            Reporter: Marco Santarelli
>            Priority: Major
>
> When trying to use a custom http-configurer, I believe I am experiencing a regression when upgrading to Camel 3.6.0
> I am using spring-boot 2.3.4.RELEASE, and I am declaring my custom configurer bean using:
> {code:java}
> camel.component.http.http-client-configurer=#httpClientConfig
> {code}
> When updating to Camel 3.6.0, that configuration results in: 
> {code:java}
> ***************************
> APPLICATION FAILED TO START
> ***************************
> Description:
> Failed to bind properties under 'camel.component.http.http-client-configurer' to org.apache.camel.component.http.HttpClientConfigurer:
>     Property: camel.component.http.http-client-configurer
>     Value: httpClientConfig
>     Origin: class path resource [application.properties]:1:45
>     Reason: No converter found capable of converting from type [java.lang.String] to type [org.apache.camel.component.http.HttpClientConfigurer]
> Action:
> Update your application's configuration{code}
>  
> See [https://github.com/santam85/camel-3.6.0-http-configurer-bean] for a reproduction example.



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