camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "pawel.jasinski" <pawel.jasin...@gmail.com>
Subject from ("seda:x").to("cxf:bean:y") exception: Could not send Message
Date Tue, 07 Oct 2008 15:20:33 GMT

hi all,

my test case:
1. sets up the web service out of camel context
2. builds the camel context/route (using SpringTestSupport)
3. sends a message into "direct:B" using template

here what works:
 
from("direct:B").process(typeConverter).to("cxf:bean:notifyMockupEndpoint");

when I change the route definition into:
  from("direct:B").to("seda:in").transform(constant(notifyMessageResponse));
 
from("seda:in").process(typeConverter).to("cxf:bean:notifyMockupEndpoint");

I get the exception:
  org.apache.cxf.interceptor.Fault: Could not send Message.
	at
org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:64)
	at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:220)
	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:296)
	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:242)
	at
org.apache.camel.component.cxf.CxfProducer.invokeClient(CxfProducer.java:285)
	at org.apache.camel.component.cxf.CxfProducer.process(CxfProducer.java:193)
	at org.apache.camel.component.cxf.CxfProducer.process(CxfProducer.java:166)
	at
org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsyncProcessorBridge.process(AsyncProcessorTypeConverter.java:43)
	at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:75)
	at
org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:63)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:41)
	at
org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:50)
	at
org.apache.camel.processor.LoggingErrorHandler.process(LoggingErrorHandler.java:53)
	at
org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsyncProcessorBridge.process(AsyncProcessorTypeConverter.java:43)
	at org.apache.camel.processor.Pipeline.process(Pipeline.java:101)
	at org.apache.camel.processor.Pipeline.process(Pipeline.java:85)
	at
org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:63)
	at
org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:65)
	at org.apache.camel.component.seda.SedaConsumer.run(SedaConsumer.java:66)
	at java.lang.Thread.run(Thread.java:595)
Caused by: java.io.IOException: Not Found
	at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1962)
	at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1865)
	at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:66)
	at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:593)
	at
org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
	... 19 more

When I look closer at the error code from exception (Not Found), turned out
to be HTTP 404.
I am running 1.5-SNAPSHOT. 
What is going on here?

Pawel


-- 
View this message in context: http://www.nabble.com/from-%28%22seda%3Ax%22%29.to%28%22cxf%3Abean%3Ay%22%29-exception%3A-Could-not-send-Message-tp19860560s22882p19860560.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message