Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E171C9A7D for ; Wed, 25 Jan 2012 17:00:07 +0000 (UTC) Received: (qmail 41225 invoked by uid 500); 25 Jan 2012 17:00:07 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 41051 invoked by uid 500); 25 Jan 2012 17:00:06 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 41039 invoked by uid 99); 25 Jan 2012 17:00:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jan 2012 17:00:06 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 216.139.236.26 is neither permitted nor denied by domain of malcolmarnold@gmail.com) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jan 2012 17:00:01 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1Rq6CD-0004n4-1m for users@camel.apache.org; Wed, 25 Jan 2012 08:59:41 -0800 Date: Wed, 25 Jan 2012 08:59:41 -0800 (PST) From: marnold To: users@camel.apache.org Message-ID: <1327510781048-5430745.post@n5.nabble.com> Subject: Camel route JMS -> SOAP -> JMS MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, I am trying to create a Camel route that will: 1) get JMS messages from a queue (using ActiveMQ), 2) send the message to a third-party SOAP web service, 3) take the response from that web service and, 4) put it onto another JMS queue In addition, I'd like to populate the JMS correlation ID on the JMS message queued at 4. with the JMS message ID of the message dequeued at 1. This is my attempt: What I find is that the JMS correlation ID is set correctly, but the body of the JMS message is null. When I set tracing on my Camel context I find I get a BodyType:org.apache.camel.component.cxf.CxfPayload and a correctly populated Body, but on the JMS enqueue I get BodyType:null, Body:[Body is null]. Why is the body lost? Is it because I am setting the header? Please let me know if I'm going about this in the wrong way or have made a fundamentally incorrect assumption on the way Camel works. Camel 2.9.0, ActiveMQ 5.5.1. Thanks! -- View this message in context: http://camel.465427.n5.nabble.com/Camel-route-JMS-SOAP-JMS-tp5430745p5430745.html Sent from the Camel - Users mailing list archive at Nabble.com.