activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Venkatg <venkata...@yahoo.com>
Subject Re: Number of Topics
Date Wed, 23 Aug 2006 12:37:42 GMT


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 <venkatabbu@yahoo.com> 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 <venkatabbu@yahoo.com> 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.


Mime
View raw message