Return-Path: Delivered-To: apmail-camel-users-archive@www.apache.org Received: (qmail 35317 invoked from network); 18 Jun 2009 08:24:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Jun 2009 08:24:01 -0000 Received: (qmail 91442 invoked by uid 500); 18 Jun 2009 08:24:11 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 91386 invoked by uid 500); 18 Jun 2009 08:24:11 -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 91376 invoked by uid 99); 18 Jun 2009 08:24:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Jun 2009 08:24:11 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS 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; Thu, 18 Jun 2009 08:24:02 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MHCuL-0000BV-2g for users@camel.apache.org; Thu, 18 Jun 2009 01:23:41 -0700 Message-ID: <24088536.post@talk.nabble.com> Date: Thu, 18 Jun 2009 01:23:41 -0700 (PDT) From: RuneB To: users@camel.apache.org Subject: Message body lost when message moved by exception clause MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: rune.berg@spk.no X-Virus-Checked: Checked by ClamAV on apache.org After upgrading from 1.5.0 to 1.6.1, we find that that exception clauses such as this one my.package.SomeException true cause the message body to be *empty* after the message has been moved to tpforholdArbeidskoe. (tpforholdArbeidskoe is a message queue on ActiveMQ, as is the route's from-endpoint). The following trace may be of relevance: --------------------------------------------------- 17:11:20,844 ERROR [STDERR] 17.jun.2009 17:11:20 org.apache.camel.component.jms.JmsProducer process WARNING: Disabling JMSReplyTo as this Exchange is not OUT capable: Exchange[JmsMessage: ActiveMQTextMessage {commandId = 8, responseRequired = false, messageId = ID:vmutvjee1-b58-2757-1245247294282-2:3:1:1:4, originalDestination = null, ori ginalTransactionId = null, producerId = ID:vmutvjee1-b58-2757-1245247294282-2:3:1:1, destination = queue://queue.samordn ing.TPForhold, transactionId = null, expiration = 0, timestamp = 1245251471047, arrival = 0, brokerInTime = 124525147106 3, brokerOutTime = 1245251471063, correlationId = , replyTo = null, persistent = false, type = , priority = 0, groupID = null, groupSequence = 0, targetConsumerId = null, compressed = false, userID = null, content = null, marshalledProperti es = null, dataStructure = null, redeliveryCounter = 0, size = 0, properties = null, readOnlyProperties = true, readOnly Body = true, droppable = false, text = Opprett 1015 xxxxxxx xxxxxx }] with destination: queue.samordning.TPForholdTilArbeidskoe 17:11:20,860 ERROR [STDERR] 17.jun.2009 17:11:20 org.apache.camel.processor.Logger log SEVERE: Failed delivery for exchangeId: ID-vmutvjee1-b58/3030-1245251235079/0-0. Handled by the failure processor: Trace Interceptor[To[ref:tpforholdArbeidskoe]] 17:11:20,875 ERROR [STDERR] 17.jun.2009 17:11:20 org.apache.camel.processor.Logger process INFO: ID-vmutvjee1-b58/3030-1245251235079/2-1 -> choice(), Pattern:InOnly , Headers:{JMSTimestamp=1245251480860, org.apa che.camel.MultiParameterArray=false, JMSType=, org.apache.camel.RedeliveryCounter=0, JMSXGroupID=null, JMSReplyTo=null, JMSDestination=queue://queue.samordning.TPForholdTilArbeidskoe, JMSRedelivered=false, JMSExpiration=0, org.apache.camel. Redelivered=false, JMSMessageID=ID:vmutvjee1-b58-3023-1245251233625-0:642:1:1:1, JMSDeliveryMode=2, JMSCorrelationID=, J MSPriority=4} , BodyType:null , Body:null --------------------------------------------------- Anyone know the reason why we lose the message body? - Rune -- View this message in context: http://www.nabble.com/Message-body-lost-when-message-moved-by-exception-clause-tp24088536p24088536.html Sent from the Camel - Users mailing list archive at Nabble.com.