Return-Path: Delivered-To: apmail-activemq-camel-user-archive@locus.apache.org Received: (qmail 93569 invoked from network); 7 Oct 2008 15:21:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Oct 2008 15:21:08 -0000 Received: (qmail 73519 invoked by uid 500); 7 Oct 2008 15:21:04 -0000 Delivered-To: apmail-activemq-camel-user-archive@activemq.apache.org Received: (qmail 73505 invoked by uid 500); 7 Oct 2008 15:21:04 -0000 Mailing-List: contact camel-user-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: camel-user@activemq.apache.org Delivered-To: mailing list camel-user@activemq.apache.org Received: (qmail 73436 invoked by uid 99); 7 Oct 2008 15:21:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Oct 2008 08:21:04 -0700 X-ASF-Spam-Status: No, hits=2.7 required=10.0 tests=DNS_FROM_OPENWHOIS,DNS_FROM_SECURITYSAGE,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Oct 2008 15:19:58 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1KnEMT-0006RE-6u for camel-user@activemq.apache.org; Tue, 07 Oct 2008 08:20:33 -0700 Message-ID: <19860560.post@talk.nabble.com> Date: Tue, 7 Oct 2008 08:20:33 -0700 (PDT) From: "pawel.jasinski" To: camel-user@activemq.apache.org Subject: from ("seda:x").to("cxf:bean:y") exception: Could not send Message MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: pawel.jasinski@gmail.com X-Virus-Checked: Checked by ClamAV on apache.org 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.