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 4857890CD for ; Wed, 30 May 2012 19:20:28 +0000 (UTC) Received: (qmail 79527 invoked by uid 500); 30 May 2012 19:20:27 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 79487 invoked by uid 500); 30 May 2012 19:20:27 -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 79479 invoked by uid 99); 30 May 2012 19:20:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 May 2012 19:20:27 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,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 deepthi.t6@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, 30 May 2012 19:20:22 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1SZoR8-00062w-8x for users@camel.apache.org; Wed, 30 May 2012 12:20:02 -0700 Date: Wed, 30 May 2012 12:20:02 -0700 (PDT) From: Deepthi To: users@camel.apache.org Message-ID: <1338405602271-5713751.post@n5.nabble.com> In-Reply-To: References: <1338395125262-5713746.post@n5.nabble.com> Subject: Re: Dynamically read messages from Active Mq MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org For example, I have a queue named testqueue1 on server1. I have messages msg1,msg2,msg3,msg4,msg5 on testqueue1. I have multiple camel instances running on different servers, say server2, server3,server4 which will be listening to testqueue1. I want server2 instance to pick only msg1 and msg2, server3 instance to pick only msg3 , server4 instance should pick msg4 and msg5. How can I achieve this? Basically how can i achieve message broker? Thanks, Deepthi -- View this message in context: http://camel.465427.n5.nabble.com/Dynamically-read-messages-from-Active-Mq-tp5713746p5713751.html Sent from the Camel - Users mailing list archive at Nabble.com.