Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 69CEDE767 for ; Mon, 18 Feb 2013 08:43:16 +0000 (UTC) Received: (qmail 67460 invoked by uid 500); 18 Feb 2013 08:43:16 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 66437 invoked by uid 500); 18 Feb 2013 08:43:14 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 66381 invoked by uid 99); 18 Feb 2013 08:43:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Feb 2013 08:43:13 +0000 Date: Mon, 18 Feb 2013 08:43:12 +0000 (UTC) From: "Charles Moulliard (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CAMEL-6084) SOAP over JMS does not work with camel-cxf endpoint MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-6084?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13580491#comment-13580491 ] Charles Moulliard commented on CAMEL-6084: ------------------------------------------ Hi Willem, Thx. Do you mean that until now SOAP over JMS should not be used anymore (till next change) and we use by example this camel route to support same feature ? {code} from("jms:queue:input").setExchangePattern(ExchangePattern.InOnly).unmarshal(soap).to("bean:callBackend").marshal(soap).to("jms:queue.replyQueue); {code} > SOAP over JMS does not work with camel-cxf endpoint > --------------------------------------------------- > > Key: CAMEL-6084 > URL: https://issues.apache.org/jira/browse/CAMEL-6084 > Project: Camel > Issue Type: Bug > Components: camel-cxf > Affects Versions: 2.10.0 > Reporter: Charles Moulliard > Assignee: Willem Jiang > > If we would like to use SOAP over JMS using CXF & Camel (2.10),that fails. > The CXF endpoint receives well the incoming request from the JMS queue > {code} > [aultMessageListenerContainer-1] HelloWorldServicePortType INFO Inbound Message > ---------------------------- > ID: 1 > Content-Type: text/xml > Headers: {JMSMessageType=[text]} > Payload: > > > > fred > > > > -------------------------------------- > [aultMessageListenerContainer-1] route1 INFO SOAP Request received message > [aultMessageListenerContainer-1] route1 INFO Mock service replied > {code} > but the response is not returned by CXF neither published in a (reply) queue. > {code} > Here is the Camel Route > @Override > public void configure() throws Exception { > from("cxf:bean:endpoint.service.worklist?dataFormat=MESSAGE") > .convertBodyTo(String.class) > .log("SOAP Request received message") > .setHeader("JMSReplyTo").constant("supervisorworklist.response") > .transform().constant(response) // RESPONSE = SOAP MESSAGE > .log("Mock service replied"); > } > {code} > & Config > {code} > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xmlns:camel="http://camel.apache.org/schema/spring" > xmlns:osgi="http://www.springframework.org/schema/osgi" > xmlns:cxf="http://camel.apache.org/schema/cxf" > xmlns:jms="http://cxf.apache.org/transports/jms" > xsi:schemaLocation=" > http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd > http://www.springframework.org/schema/osgi http://www.springframework.org/schema/osgi/spring-osgi.xsd > http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd > http://camel.apache.org/schema/cxf http://camel.apache.org/schema/cxf/camel-cxf-2.10.0-spring.xsd > http://cxf.apache.org/transports/jms http://cxf.apache.org/schemas/configuration/jms.xsd"> > > > > > > > > > > > > > address="jms://" > serviceClass="com.redhat.atos.helloworld.HelloWorldService" > serviceName="s:HelloWorldService" > endpointName="s:HelloWorldOverJms" > xmlns:s="http://helloworld.atos.redhat.com"> > > class="org.apache.cxf.transport.jms.JMSConfigFeature"> > > > > > > > > > > > > com.redhat.atos.cxf > > > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira