Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 67632 invoked from network); 23 Aug 2006 12:38:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Aug 2006 12:38:04 -0000 Received: (qmail 46074 invoked by uid 500); 23 Aug 2006 12:38:03 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 46047 invoked by uid 500); 23 Aug 2006 12:38:03 -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 46036 invoked by uid 99); 23 Aug 2006 12:38:03 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Aug 2006 05:38:03 -0700 X-ASF-Spam-Status: No, hits=0.9 required=10.0 tests=FORGED_YAHOO_RCVD,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Aug 2006 05:38:02 -0700 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1GFrzK-0003hM-90 for activemq-users@geronimo.apache.org; Wed, 23 Aug 2006 05:37:42 -0700 Message-ID: <5943604.post@talk.nabble.com> Date: Wed, 23 Aug 2006 05:37:42 -0700 (PDT) From: Venkatg To: activemq-users@geronimo.apache.org Subject: Re: Number of Topics In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <5941433.post@talk.nabble.com> <5943361.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Yes. I am creating boolean property at the publisher for each of the MD's. Then on the consumer side OR conditions are added to the selector. One more query, which of the approach is faster(better) using selector or having many topics(~65000)? -Venkat James.Strachan wrote: > > Actually for boolean properties you can just use the selector > > MD1 and MD2 and MD3 > > On 8/23/06, Venkatg wrote: >> >> >> Hi James, >> >> Thanks a lot. I can use boolean condition which solved the problem. >> >> -Venkat >> >> >> James.Strachan wrote: >> > >> > There's no limit on destinations though it does use up RAM on brokers. >> > >> > A work around for your problem is to use a header for each domain then >> > you can do something like >> > >> > MD1 = true and MD2 = true and MD3 = true >> > >> > etc >> > >> > >> > On 8/23/06, Venkatg wrote: >> >> >> >> Hi All, >> >> >> >> In my application I started using selector and everything working >> fine. >> >> But during the developement I found that to set some specific filter >> >> selector is not enough.Here is my problem look at the selector string >> >> below >> >> >> >> MGMTID IN ('MD1','MD2', 'MD3') >> >> >> >> Here "MGMTID" is a string property which gets set on the server side >> when >> >> ever message is published. But when a node is participating in >> multiple >> >> admin domains for example node N1 in "MD1,MD2" then property "MGMTID" >> >> will >> >> have multiple values so "IN" condition will fail. To solve this >> problem >> >> we >> >> thought of using Wildcards >> >> >> >> MD1.* >> >> MD2.* >> >> >> >> But the problem(?) with this approach is we will end up in creating >> 65000 >> >> topics both on publisher side and Consumer side. Are any know limit on >> >> the >> >> number of topics? If not any idea on memory requirement? >> >> >> >> Thanks >> >> Venkat >> >> >> >> >> >> >> >> >> >> -- >> >> View this message in context: >> >> http://www.nabble.com/Number-of-Topics-tf2151480.html#a5941433 >> >> Sent from the ActiveMQ - User forum at Nabble.com. >> >> >> >> >> > >> > >> > -- >> > >> > James >> > ------- >> > http://radio.weblogs.com/0112098/ >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/Number-of-Topics-tf2151480.html#a5943361 >> Sent from the ActiveMQ - User forum at Nabble.com. >> >> > > > -- > > James > ------- > http://radio.weblogs.com/0112098/ > > -- View this message in context: http://www.nabble.com/Number-of-Topics-tf2151480.html#a5943604 Sent from the ActiveMQ - User forum at Nabble.com.