[ https://issues.apache.org/jira/browse/CAMEL-4503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13131466#comment-13131466 ]
Willem Jiang commented on CAMEL-4503: ------------------------------------- The NPE is caused by the clone method of CxfEndpoint, as you know CxfEndpoint extends the ServiceSupport object which has lots of AutomBoolean objects. If the CxfEndpoint instance is started, the cloned CxfEndpoint will not start again. It looks like calling the clone method is not a idea way to resolve such issue. I'm still looking for a good solution. > Recipient List cannot vary destination by changing property in an expression > ---------------------------------------------------------------------------- > > Key: CAMEL-4503 > URL: https://issues.apache.org/jira/browse/CAMEL-4503 > Project: Camel > Issue Type: Bug > Affects Versions: 2.8.1 > Reporter: Jonathan Anstey > Assignee: Willem Jiang > > This is probably due to producers being cached based on unresolved endpoint > URI, rather than the resolved endpoint URI. Haven't tested this theory out > though. > See message on user list http://markmail.org/message/sdysp6sspq5lomf4 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira