Hi,

I'm trying to do the following

<camel:route>
<camel:from uri="seda:input" />
<camel:recipientList>
        
<camel:simple>cxf:bean:productionServer?address=${header.address}</camel:simple>
</camel:recipientList>

this fails with a

 PhaseInterceptorChain          WARN  Interceptor for
{http://tempuri.org/}Service#{http://my-namespace}Initialize has
thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: Could not send Message.
        at 
org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:64)[cxf-rt-core-2.4.1.jar:2.4.1]
        at 
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)[cxf-api-2.4.1.jar:2.4.1]
        at 
org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:510)[cxf-rt-core-2.4.1.jar:2.4.1]
        at 
org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:433)[cxf-rt-core-2.4.1.jar:2.4.1]
        at 
org.apache.camel.component.cxf.CxfProducer.process(CxfProducer.java:94)[camel-cxf-2.8.0.jar:2.8.0]
        at 
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:78)[camel-core-2.8.0.jar:2.8.0]
        at 
org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:318)[camel-core-2.8.0.jar:2.8.0]
        at 
org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:209)[camel-core-2.8.0.jar:2.8.0]
        at 
org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:102)[camel-core-2.8.0.jar:2.8.0]
        at 
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:78)[camel-core-2.8.0.jar:2.8.0]
        at 
org.apache.camel.processor.MulticastProcessor.doProcessSequential(MulticastProcessor.java:572)[camel-core-2.8.0.jar:2.8.0]
        at 
org.apache.camel.processor.MulticastProcessor.doProcessSequential(MulticastProcessor.java:505)[camel-core-2.8.0.jar:2.8.0]
        at 
org.apache.camel.processor.MulticastProcessor.process(MulticastProcessor.java:218)[camel-core-2.8.0.jar:2.8.0]
        at 
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:78)[camel-core-2.8.0.jar:2.8.0]
        at 
org.apache.camel.processor.RecipientList.sendToRecipientList(RecipientList.java:144)[camel-core-2.8.0.jar:2.8.0]
        at 
org.apache.camel.processor.RecipientList.process(RecipientList.java:105)[camel-core-2.8.0.jar:2.8.0]
        at 
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:78)[camel-core-2.8.0.jar:2.8.0]
        at 
org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)[camel-core-2.8.0.jar:2.8.0]
......

if I change the starting endpoint to
<camel:from uri="direct:input" />

it works without any issues.

so what am I doing wrong here?

Regards

--
*Achim Nierbeck*


Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/>
Committer & Project Lead
blog <http://notizblog.nierbeck.de/>

Reply via email to