Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 71265 invoked from network); 28 May 2007 23:01:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 May 2007 23:01:11 -0000 Received: (qmail 31848 invoked by uid 500); 28 May 2007 23:01:15 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 31831 invoked by uid 500); 28 May 2007 23:01:14 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 31822 invoked by uid 99); 28 May 2007 23:01:14 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 May 2007 16:01:14 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [216.113.193.83] (HELO ly.sdf.com) (216.113.193.83) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 May 2007 16:01:08 -0700 Received: from localhost (localhost [127.0.0.1]) by ly.sdf.com (Postfix) with ESMTP id D61BA228390 for ; Mon, 28 May 2007 16:01:37 -0700 (PDT) X-Virus-Scanned: amavisd-new at X-Spam-Score: -3.177 X-Spam-Level: Received: from ly.sdf.com ([127.0.0.1]) by localhost (ly.sdf.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JyA2yfWHaqqi for ; Mon, 28 May 2007 16:01:37 -0700 (PDT) Received: from ly.sdf.com (ly.sdf.com [216.113.193.83]) by ly.sdf.com (Postfix) with ESMTP id 15DE422838F for ; Mon, 28 May 2007 16:01:37 -0700 (PDT) Date: Mon, 28 May 2007 16:01:37 -0700 (PDT) From: Tom Samplonius To: users@activemq.apache.org Message-ID: <23678644.2421180393297011.JavaMail.root@ly.sdf.com> In-Reply-To: <10838068.post@talk.nabble.com> Subject: Re: Kind of "consumer faliover" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [64.251.80.98] X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-3.177 tagged_above=-10 required=6.6 tests=[ALL_TRUSTED=-1.8, AWL=-0.267, BAYES_05=-1.11] ----- "ego" wrote: > Hey, > > I'm not sure that my problem stands for "consumer failover". I would > like to > know if it's possible to have a group of consumers, listening the > same > Topic. Only one of the consumers is allowed to process the same > message. The > idea is that if one of the consumer die, the other consumers of my > "cluster" > can always process the new messages. I think you can do this, if you use a queue, instead of a topic, and mark the consumer as "exclusive". Topics are for one-to-many communications anyways, so definitely not what you want. http://activemq.apache.org/exclusive-consumer.html Tom