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

Tomohisa Igarashi updated CAMEL-12396:
--------------------------------------
    Description: 
It looks like there might be some plumbing issue around auto configuration
{code:none}
[ERROR] 
testServiceCall(org.apache.camel.spring.boot.cloud.CamelCloudServiceCallSimpleExpressionTest)
 Time elapsed: 0.005 s <<< ERROR!
java.lang.IllegalStateException: Failed to load ApplicationContext
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: 
Error creating bean with name 
'org.apache.camel.spring.boot.cloud.CamelCloudServiceCallConfigurationAutoConfiguration':
 Unsatisfied dependency expressed through field 'configurationProperties'; 
nested exception is 
org.springframework.boot.context.properties.ConfigurationPropertiesBindException:
 Error creating bean with name 
'camel.cloud-org.apache.camel.spring.boot.cloud.CamelCloudConfigurationProperties':
 Could not bind properties to 'CamelCloudConfigurationProperties' : 
prefix=camel.cloud, ignoreInvalidFields=false, ignoreUnknownFields=true; nested 
exception is org.springframework.boot.context.properties.bind.BindException: 
Failed to bind properties under 'camel.cloud.service-call.expression' to 
java.lang.String
Caused by: 
org.springframework.boot.context.properties.ConfigurationPropertiesBindException:
 Error creating bean with name 
'camel.cloud-org.apache.camel.spring.boot.cloud.CamelCloudConfigurationProperties':
 Could not bind properties to 'CamelCloudConfigurationProperties' : 
prefix=camel.cloud, ignoreInvalidFields=false, ignoreUnknownFields=true; nested 
exception is org.springframework.boot.context.properties.bind.BindException: 
Failed to bind properties under 'camel.cloud.service-call.expression' to 
java.lang.String
Caused by: org.springframework.boot.context.properties.bind.BindException: 
Failed to bind properties under 'camel.cloud.service-call.expression' to 
java.lang.String
Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 
'header.CamelServiceCallScheme' in value 
"${header.CamelServiceCallScheme}:http://${header.CamelServiceCallServiceHost}:${header.CamelServiceCallServicePort}/hello"{code}

  was:
It looks like there might be some plumbing issue around auto configuration
{noformat}
[ERROR] 
testServiceCall(org.apache.camel.spring.boot.cloud.CamelCloudServiceCallSimpleExpressionTest)
 Time elapsed: 0.005 s <<< ERROR!
java.lang.IllegalStateException: Failed to load ApplicationContext
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: 
Error creating bean with name 
'org.apache.camel.spring.boot.cloud.CamelCloudServiceCallConfigurationAutoConfiguration':
 Unsatisfied dependency expressed through field 'configurationProperties'; 
nested exception is 
org.springframework.boot.context.properties.ConfigurationPropertiesBindException:
 Error creating bean with name 
'camel.cloud-org.apache.camel.spring.boot.cloud.CamelCloudConfigurationProperties':
 Could not bind properties to 'CamelCloudConfigurationProperties' : 
prefix=camel.cloud, ignoreInvalidFields=false, ignoreUnknownFields=true; nested 
exception is org.springframework.boot.context.properties.bind.BindException: 
Failed to bind properties under 'camel.cloud.service-call.expression' to 
java.lang.String
Caused by: 
org.springframework.boot.context.properties.ConfigurationPropertiesBindException:
 Error creating bean with name 
'camel.cloud-org.apache.camel.spring.boot.cloud.CamelCloudConfigurationProperties':
 Could not bind properties to 'CamelCloudConfigurationProperties' : 
prefix=camel.cloud, ignoreInvalidFields=false, ignoreUnknownFields=true; nested 
exception is org.springframework.boot.context.properties.bind.BindException: 
Failed to bind properties under 'camel.cloud.service-call.expression' to 
java.lang.String
Caused by: org.springframework.boot.context.properties.bind.BindException: 
Failed to bind properties under 'camel.cloud.service-call.expression' to 
java.lang.String
Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 
'header.CamelServiceCallScheme' in value 
"${header.CamelServiceCallScheme}:http://${header.CamelServiceCallServiceHost}:${header.CamelServiceCallServicePort}/hello"{noformat}


> Spring Boot 2 - CamelCloudServiceCallSimpleExpressionTest fails
> ---------------------------------------------------------------
>
>                 Key: CAMEL-12396
>                 URL: https://issues.apache.org/jira/browse/CAMEL-12396
>             Project: Camel
>          Issue Type: Sub-task
>          Components: camel-spring-boot
>            Reporter: Tomohisa Igarashi
>            Assignee: Tomohisa Igarashi
>            Priority: Major
>             Fix For: 2.22.0
>
>
> It looks like there might be some plumbing issue around auto configuration
> {code:none}
> [ERROR] 
> testServiceCall(org.apache.camel.spring.boot.cloud.CamelCloudServiceCallSimpleExpressionTest)
>  Time elapsed: 0.005 s <<< ERROR!
> java.lang.IllegalStateException: Failed to load ApplicationContext
> Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: 
> Error creating bean with name 
> 'org.apache.camel.spring.boot.cloud.CamelCloudServiceCallConfigurationAutoConfiguration':
>  Unsatisfied dependency expressed through field 'configurationProperties'; 
> nested exception is 
> org.springframework.boot.context.properties.ConfigurationPropertiesBindException:
>  Error creating bean with name 
> 'camel.cloud-org.apache.camel.spring.boot.cloud.CamelCloudConfigurationProperties':
>  Could not bind properties to 'CamelCloudConfigurationProperties' : 
> prefix=camel.cloud, ignoreInvalidFields=false, ignoreUnknownFields=true; 
> nested exception is 
> org.springframework.boot.context.properties.bind.BindException: Failed to 
> bind properties under 'camel.cloud.service-call.expression' to 
> java.lang.String
> Caused by: 
> org.springframework.boot.context.properties.ConfigurationPropertiesBindException:
>  Error creating bean with name 
> 'camel.cloud-org.apache.camel.spring.boot.cloud.CamelCloudConfigurationProperties':
>  Could not bind properties to 'CamelCloudConfigurationProperties' : 
> prefix=camel.cloud, ignoreInvalidFields=false, ignoreUnknownFields=true; 
> nested exception is 
> org.springframework.boot.context.properties.bind.BindException: Failed to 
> bind properties under 'camel.cloud.service-call.expression' to 
> java.lang.String
> Caused by: org.springframework.boot.context.properties.bind.BindException: 
> Failed to bind properties under 'camel.cloud.service-call.expression' to 
> java.lang.String
> Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 
> 'header.CamelServiceCallScheme' in value 
> "${header.CamelServiceCallScheme}:http://${header.CamelServiceCallServiceHost}:${header.CamelServiceCallServicePort}/hello"{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to