camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (Commented) (JIRA)" <>
Subject [jira] [Commented] (CAMEL-4503) Recipient List cannot vary destination by changing property in an expression
Date Thu, 20 Oct 2011 07:49:10 GMT


Claus Ibsen commented on CAMEL-4503:

Willem I have committed an unit tests that reproduces the issue

With your recent fix on trunk (eg the clone) the problem with picking up the wrong bean is
resolved as far.
But we get a NPE exception later.

Caused by: java.lang.NullPointerException
	at org.apache.camel.component.cxf.CxfProducer.prepareRequest(
	at org.apache.camel.component.cxf.CxfProducer.process(
	at org.apache.camel.util.AsyncProcessorHelper.process(
	at org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(
	at org.apache.camel.processor.RedeliveryErrorHandler.process(
	at org.apache.camel.processor.UnitOfWorkProcessor.process(
	at org.apache.camel.util.AsyncProcessorHelper.process(
	at org.apache.camel.processor.MulticastProcessor.doProcessSequential(

The CxfBinding is null on the endpoint. So I guess a little more fix is needed. Do you mind
digging into this?
> Recipient List cannot vary destination by changing property in an expression
> ----------------------------------------------------------------------------
>                 Key: CAMEL-4503
>                 URL:
>             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

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message