From users-return-29718-apmail-activemq-users-archive=activemq.apache.org@activemq.apache.org Thu Dec 22 22:47:01 2011 Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-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 672209D87 for ; Thu, 22 Dec 2011 22:47:01 +0000 (UTC) Received: (qmail 34150 invoked by uid 500); 22 Dec 2011 22:47:01 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 34127 invoked by uid 500); 22 Dec 2011 22:47:00 -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 34118 invoked by uid 99); 22 Dec 2011 22:47:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Dec 2011 22:47:00 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Dec 2011 22:46:55 +0000 Received: from joe.nabble.com ([192.168.236.139]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1RdrPH-0006cn-3n for users@activemq.apache.org; Thu, 22 Dec 2011 14:46:35 -0800 Date: Thu, 22 Dec 2011 14:46:35 -0800 (PST) From: AlexP To: users@activemq.apache.org Message-ID: <1324593995108-4226910.post@n4.nabble.com> Subject: How to configure multiple load balanced subscribers at the end of a topic? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I have a consumer which produces events and a number of different subscribers who are interested in processing this event. The subscribers are load balanced so there are N machines running the same subscriber, but I want this group to process a message only once. I looked at ActiveMQ Virtual Topics but that allows me to load balance only one set/group of subscribers at the end of a topic. What I need, is to be able to load balance multiple groups/set of subscribers at the end of a topic. For example, if I am an alarm dispatch center, I may have a single producer which puts an ALARM message on to a topic and multiple consumers that are going to receive this message. One consumer can send an e-mail, another consumer could contact police/emergency services, yet another consumer can make a phone call to the subscriber. Each one of these consumers may be represented by N number of physical servers for scalability and load balancing. Each one of these consumers needs to get and process the message exactly once. So, I need something like a Virtual Topic Group concept? Is there a way to accomplish what I want such that every time I add a new consumer type I don't need to create a new topic and put it into a composite topic? Thanks. -AP_ -- View this message in context: http://activemq.2283324.n4.nabble.com/How-to-configure-multiple-load-balanced-subscribers-at-the-end-of-a-topic-tp4226910p4226910.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.