Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 7390 invoked from network); 3 Oct 2006 14:33:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Oct 2006 14:33:23 -0000 Received: (qmail 99908 invoked by uid 500); 3 Oct 2006 14:33:23 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 99891 invoked by uid 500); 3 Oct 2006 14:33:23 -0000 Mailing-List: contact activemq-users-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-users@geronimo.apache.org Delivered-To: mailing list activemq-users@geronimo.apache.org Received: (qmail 99882 invoked by uid 99); 3 Oct 2006 14:33:23 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Oct 2006 07:33:23 -0700 Authentication-Results: idunn.apache.osuosl.org header.from=james.strachan@gmail.com; domainkeys=good X-ASF-Spam-Status: No, hits=0.5 required=5.0 tests=DNS_FROM_RFC_ABUSE DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 Received: from [66.249.92.175] ([66.249.92.175:12539] helo=ug-out-1314.google.com) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 58/90-08153-DA472254 for ; Tue, 03 Oct 2006 07:33:18 -0700 Received: by ug-out-1314.google.com with SMTP id 29so715541ugc for ; Tue, 03 Oct 2006 07:33:14 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=OJavoM1Bte7hWTveiJnyZDn50l7NVuHUqMbJ55PyGmQQWiL+TriT7hswFGE2RBrC1ta/Az7OnM3PTs0IozVto6GO4K/FJYfr+xKO5B8h0oj8RO/FxDJg1iDsTmlkFNhNmiyRXM9aKJ5+PnrrRPLmizQ5iHlp7ge3k781en3dhwM= Received: by 10.78.178.5 with SMTP id a5mr4496084huf; Tue, 03 Oct 2006 07:33:14 -0700 (PDT) Received: by 10.78.146.12 with HTTP; Tue, 3 Oct 2006 07:33:14 -0700 (PDT) Message-ID: Date: Tue, 3 Oct 2006 15:33:14 +0100 From: "James Strachan" To: activemq-users@geronimo.apache.org Subject: Re: Sending a message to all message group consumers In-Reply-To: <6621347.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6621030.post@talk.nabble.com> <6621347.post@talk.nabble.com> X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 10/3/06, Banana Man wrote: > > Thanks alot for the quick response. > > That sounds really good but I've no idea what it means. ;o) LOL > I was intending to use message groups for their sticky session behaviour... > load balancing etc. I was intending to have multiple producers write to the > q and let the broker load balance by group id. Sounds like the perfect use case for message groups. > Please can you expand a bit. Going back to your original question... > 1 feature that I think I read about, but now can not locate, is the ability > to (on occasion) request the broker to send a single message to all > consumers in the group that it knows about? There is no such feature AFAIK. So message groups mean that all messages sent to a queue for a single group value (JMSXGroupID) are sent to the same single consumer. The only way to send a message to all available consumers on a queue would be to ensure those consumers also subscribe to a topic so you can send messages to all consumers via the topic and send to exactly one consumer via the queue (with sticky load balancing) You can use advisories or JMX to discover what consumers are available if that helps? -- James ------- http://radio.weblogs.com/0112098/