Return-Path: Delivered-To: apmail-camel-users-archive@www.apache.org Received: (qmail 32232 invoked from network); 26 Jul 2010 15:01:21 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 26 Jul 2010 15:01:21 -0000 Received: (qmail 19098 invoked by uid 500); 26 Jul 2010 15:01:21 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 19072 invoked by uid 500); 26 Jul 2010 15:01:20 -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 19064 invoked by uid 99); 26 Jul 2010 15:01:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Jul 2010 15:01:20 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of claus.ibsen@gmail.com designates 209.85.216.180 as permitted sender) Received: from [209.85.216.180] (HELO mail-qy0-f180.google.com) (209.85.216.180) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Jul 2010 15:01:16 +0000 Received: by qyk8 with SMTP id 8so2242645qyk.11 for ; Mon, 26 Jul 2010 08:00:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=eC7FeftuiVqRmHKIiv2YVEVdTw1bSiJwCxnwzt30pF0=; b=ZoQ+skxbduedKhAyniUHPZJXY4KaPQRViKcVgFWzyxYXhQhnHKeytc6UQr6y1wVNZm NnwDwRjSii1bJj7yAuJCoaAVihHjQBZOYKmcSJ2eNBuEt0T07gdo4sw97GR2NLWLYShw 8IbkajlSUmAKjZZqBCkdjbiUvs4okuZA6rGzc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=IcYeHgC5HA3WejqtWWQHN8NJ6h69W7CzH5YKaPwNUt0IFkeM3DIY1SGaQEGCxPh5Oc ObREwHT9OtEgDBmNk+lPSoHvgnxwna/th9WEKwzXeFVL56WnJgqC2Bn8lxjZjslXYq4L 1/uKzR7+/8vIy4VIT0lmKaZfu43hgEt25zZ0s= Received: by 10.224.54.146 with SMTP id q18mr6147159qag.93.1280156455321; Mon, 26 Jul 2010 08:00:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.25.73 with HTTP; Mon, 26 Jul 2010 08:00:35 -0700 (PDT) In-Reply-To: <4C4D9A71.90101@softwaremind.pl> References: <4C4D9A71.90101@softwaremind.pl> From: Claus Ibsen Date: Mon, 26 Jul 2010 17:00:35 +0200 Message-ID: Subject: Re: activemq with InOut pattern - problem To: users@camel.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi What kind of object type do you send over JMS? if you send serialized objects then make sure the client can de-serialize the data. If its XML based then maybe use TextMessage instead. You can configure the JMS endpoint to force it to send text messages http://camel.apache.org/jms.html By setting this in the endpoint uri jmsMessageType=3DText Otherwise do some logging/tracing, enable DEBUG/TRACE logging to see what AMQ returns back. org.apache.camel.jms=3DTRACE http://camel.apache.org/tracer 2010/7/26 Pawe=C5=82 Weso=C5=82owski : > Hi, > > Recently I've tried to use activemq component with pattern=3D"InOut". > > > =C2=A0 =C2=A0... > pattern=3D"InOut" /> > =C2=A0 =C2=A0... > > > > > =C2=A0 =C2=A0... > > > Everything is ok except the fact that the body part of the message is emp= ty > when it comes back from queue. Before message is returned by r2 to r1 bod= y > contains SOAPMessage object, but the response seen by r1 has empty body. > > Am I doing something wrong? I have tired to use other options in avtivemq > uri like alwaysCopyMessage=3Dtrue but it hasn't helped me at all. > > I'm using fuse esb with camel version 2.2.0. > -- > Pawe=C5=82 Weso=C5=82owski > --=20 Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus