Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Unknown
Description
It looks like there might be some plumbing issue around auto configuration
[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"