Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 18161 invoked from network); 26 Feb 2009 22:05:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Feb 2009 22:05:41 -0000 Received: (qmail 51799 invoked by uid 500); 26 Feb 2009 22:05:40 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 51778 invoked by uid 500); 26 Feb 2009 22:05:40 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 51767 invoked by uid 500); 26 Feb 2009 22:05:40 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 51764 invoked by uid 99); 26 Feb 2009 22:05:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Feb 2009 14:05:40 -0800 X-ASF-Spam-Status: No, hits=4.8 required=10.0 tests=DNS_FROM_OPENWHOIS,HTML_MESSAGE,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.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, 26 Feb 2009 22:05:31 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LcoLu-0003UJ-JP for camel-dev@activemq.apache.org; Thu, 26 Feb 2009 14:05:10 -0800 Message-ID: <22234799.post@talk.nabble.com> Date: Thu, 26 Feb 2009 14:05:10 -0800 (PST) From: dasalav To: camel-dev@activemq.apache.org Subject: Problems in implementing Loadbalance using ActiveMQ and Camel MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_9247_27800186.1235685910595" X-Nabble-From: lavanya.dasari@dowjones.com X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_9247_27800186.1235685910595 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi My requirement is: i have an input queue of Active MQ 5.1. the messages keeps adding to it. These messages are to be consumed by 3 differerent consumers. But each consumer queue should have a limit to 2. If the consumer queue is full, the producer should stop sending messages to that queue and proceed with the others. I am trying to implement this functionality using round robin of Camel 1.5 like this. from(fromDest).loadBalance().roundRobin().to(loadbal1,loadbal2,loadbal3); Note: I haven't found any source to limit the size of consumer queue. Please help me. Thanks in advance. -- View this message in context: http://www.nabble.com/Problems-in-implementing-Loadbalance-using-ActiveMQ-and-Camel-tp22234799p22234799.html Sent from the Camel - Development (activemq) mailing list archive at Nabble.com. ------=_Part_9247_27800186.1235685910595--