[ 
https://issues.apache.org/jira/browse/CAMEL-10741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15842866#comment-15842866
 ] 

Claus Ibsen commented on CAMEL-10741:
-------------------------------------

Use {{ }} in the endpoint and use property placeholders then it ought to work

> LogEndpoint error constructing LogProducer
> ------------------------------------------
>
>                 Key: CAMEL-10741
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10741
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.18.0, 2.18.1
>         Environment: Ubuntu 16.04, Open JDK 1.8.0
>            Reporter: David Martin
>            Assignee: Claus Ibsen
>            Priority: Minor
>              Labels: log, logendpoint
>             Fix For: 2.17.6, 2.18.3, 2.19.0
>
>
> Using Spring XML. With a log: uri in the route, LogEndpoint.createProducer() 
> was being called before doStart(), causing a null logger param to be passed 
> to the LogProducer constructor. This resulted in a npe when the route was 
> executed. Rolled back to 2.17.4 to resolve.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to