Return-Path: Delivered-To: apmail-activemq-camel-user-archive@locus.apache.org Received: (qmail 34373 invoked from network); 25 May 2008 05:04:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 May 2008 05:04:39 -0000 Received: (qmail 85092 invoked by uid 500); 25 May 2008 05:04:41 -0000 Delivered-To: apmail-activemq-camel-user-archive@activemq.apache.org Received: (qmail 85066 invoked by uid 500); 25 May 2008 05:04:40 -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 85055 invoked by uid 99); 25 May 2008 05:04:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 May 2008 22:04:40 -0700 X-ASF-Spam-Status: No, hits=4.0 required=10.0 tests=DNS_FROM_OPENWHOIS,FORGED_YAHOO_RCVD,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; Sun, 25 May 2008 05:03:53 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1K08Ou-0006Fd-MY for camel-user@activemq.apache.org; Sat, 24 May 2008 22:04:08 -0700 Message-ID: <17454593.post@talk.nabble.com> Date: Sat, 24 May 2008 22:04:08 -0700 (PDT) From: rmunjuluri To: camel-user@activemq.apache.org Subject: Resequencer based on XML Message header element (MessageId) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: rmunjuluri@yahoo.com X-Virus-Checked: Checked by ClamAV on apache.org Hello, I am trying of the Resequencer EIP in camel and sending simple XML messages with in random order. [java] INFO [ActiveMQOnewaySender] Sending (0)- 1 [java] INFO [ActiveMQOnewaySender] Sending (1)- 6 [java] INFO [ActiveMQOnewaySender] Sending (2)- 7 [java] INFO [ActiveMQOnewaySender] Sending (3)- 4 [java] INFO [ActiveMQOnewaySender] Sending (4)- 8 [java] INFO [ActiveMQOnewaySender] Sending (5)- 2 [java] INFO [ActiveMQOnewaySender] Sending (6)- 5 [java] INFO [ActiveMQOnewaySender] Sending (7)- 0 [java] INFO [ActiveMQOnewaySender] Sending (8)- 3 [java] INFO [ActiveMQOnewaySender] Sending (9)- 9 As per my understanding I should be able to receive the messages at the other end in a resequenced order. the issue I have is I didnt find any samples XPATH expressions I could use to set in the camel route. I came across the jbi.Message based resequence expressions but not for XML messages. Is it possible at all to resequence based on XML message headers flowing in ServiceMix? or didnt I look at the right place for the a sample that does this? thanx -ram -- View this message in context: http://www.nabble.com/Resequencer-based-on-XML-Message-header-element-%28MessageId%29-tp17454593s22882p17454593.html Sent from the Camel - Users mailing list archive at Nabble.com.