-
Type:
Bug
-
Status: Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.0.0
-
Component/s: camel-main
-
Labels:None
-
Estimated Complexity:Unknown
I have the following configuration in my application.properties
camel.component.fhir.configuration = #class:org.apache.camel.component.fhir.FhirConfiguration camel.component.fhir.configuration.log = false camel.component.fhir.configuration.server-url = {{camel.fhir.test-url}}
While running this code in against Java 8, the auto configuration works as expected:
[org.apa.cam.mai.BaseMainSupport] (main) Auto-configuration summary: [org.apa.cam.mai.BaseMainSupport] (main) camel.component.fhir.configuration=#class:org.apache.camel.component.fhir.FhirConfiguration [org.apa.cam.mai.BaseMainSupport] (main) camel.component.fhir.configuration.log=false [org.apa.cam.mai.BaseMainSupport] (main) camel.component.fhir.configuration.server-url={{camel.fhir.test-url}}
When running on Java 11 instead it fails with:
Error binding property (camel.component.fhir..configuration.server-url={{camel.fhir.test-url}}) with name: configuration.serverurl on bean: org.apache.camel.component.fhir.FhirComponent@5e557671 with value: {{camel.fhir.test-url}} Caused by: org.apache.camel.PropertyBindingException: Error binding property (camel.component.fhir..configuration.server-url={{camel.fhir.test-url}}) with name: configuration.serverurl on bean: org.apache.camel.component.fhir.FhirComponent@5e557671 with value: {{camel.fhir.test-url}}
- relates to
-
CAMEL-14278 Upgrade to microprofile config 1.5
-
- Resolved
-
- links to