[ 
https://issues.apache.org/jira/browse/CAMEL-14268?focusedWorklogId=356349&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-356349
 ]

ASF GitHub Bot logged work on CAMEL-14268:
------------------------------------------

                Author: ASF GitHub Bot
            Created on: 09/Dec/19 16:34
            Start Date: 09/Dec/19 16:34
    Worklog Time Spent: 10m 
      Work Description: lburgazzoli commented on pull request #3392: 
CAMEL-14268: Component auto configuration fails in Java 11
URL: https://github.com/apache/camel/pull/3392
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

            Worklog Id:     (was: 356349)
    Remaining Estimate: 0h
            Time Spent: 10m

> Component auto configuration fails in Java 11
> ---------------------------------------------
>
>                 Key: CAMEL-14268
>                 URL: https://issues.apache.org/jira/browse/CAMEL-14268
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-main
>    Affects Versions: 3.0.0
>            Reporter: Luca Burgazzoli
>            Assignee: Luca Burgazzoli
>            Priority: Minor
>             Fix For: 3.0.1, 3.1.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> I have the following configuration in my application.properties
> {code}
> 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}}
> {code}
> While running this code in against Java 8, the auto configuration works as 
> expected:
> {code}
> [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}}
> {code}
> When running on Java 11 instead it fails with:
> {code}
> 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}}
> {code}



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

Reply via email to