Return-Path: Delivered-To: apmail-activemq-camel-user-archive@locus.apache.org Received: (qmail 9619 invoked from network); 10 Jul 2008 12:30:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Jul 2008 12:30:05 -0000 Received: (qmail 78468 invoked by uid 500); 10 Jul 2008 12:30:06 -0000 Delivered-To: apmail-activemq-camel-user-archive@activemq.apache.org Received: (qmail 78451 invoked by uid 500); 10 Jul 2008 12:30:06 -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 78440 invoked by uid 99); 10 Jul 2008 12:30:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jul 2008 05:30:06 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,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; Thu, 10 Jul 2008 12:29:13 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1KGvHB-0005gJ-Jr for camel-user@activemq.apache.org; Thu, 10 Jul 2008 05:29:33 -0700 Message-ID: <18381854.post@talk.nabble.com> Date: Thu, 10 Jul 2008 05:29:33 -0700 (PDT) From: cmoulliard To: camel-user@activemq.apache.org Subject: How to avoid to lost Headers add from messages go/from activemq ? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: cmoulliard@gmail.com X-Virus-Checked: Checked by ClamAV on apache.org Hi, How can we avoid to lost headers when messages go to/from a ActiveMq ? e.g. from("") .setHeader("God", myGodIs) .to("direct:A") from("direct:A") .to("bean:doWhatYouWant") --> the key "God" is there .to("activeMq:queue:myqueue") from("activeMq:queue:myqueue") .to("bean:dontDoWhatYouWant") --> the key "God" is lost Is there a trick to define a header as a global header and can be found from any endpoint ? Regards, Charles -- View this message in context: http://www.nabble.com/How-to-avoid-to-lost-Headers-add-from-messages-go-from-activemq---tp18381854s22882p18381854.html Sent from the Camel - Users mailing list archive at Nabble.com.