Re: Topic Inheritance

2010-04-15 Thread carlosfocker
All the answers provided help. -- View this message in context: http://old.nabble.com/Topic-Inheritance-tp28245081p28255890.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Topic Inheritance

2010-04-15 Thread Bruce Snyder
On Thu, Apr 15, 2010 at 12:55 AM, go canal wrote: > thanks for the examples. > > just wanted to make sure if my understanding is correct: >  * is to match any name, including empty name; >  > is to match any name (not for empty?) and hierarchy. > > So > >  a.* means 'a.' followed by one or zero hi

Re: Topic Inheritance

2010-04-14 Thread go canal
d by one or more levels of hierarchy. am I correct ? rgds, canal From: Sebastian Rodriguez To: users@activemq.apache.org Sent: Thu, April 15, 2010 1:38:10 PM Subject: Re: Topic Inheritance Hi canal, Yes, car.ford.> and car.ford.* will receive the same mess

Re: Topic Inheritance

2010-04-14 Thread Bruce Snyder
On Wed, Apr 14, 2010 at 10:20 PM, go canal wrote: > this solves my chat room use case also, thanks. I did not realize this > feature, did not remember JMS has this. JMS does not offer this feature. This is an ActiveMQ-specific feature. Bruce -- perl -e 'print unpack("u30","D0G)u8...@4vyy9&5R\

Re: Topic Inheritance

2010-04-14 Thread Sebastian Rodriguez
bout these two: if I have > car.ford.suv, car.ford.truck > > are these two the same: > car.ford.> > car.ford.* > > rgds, > canal > > > > > > From: Rob Davies > To: users@activemq.apache.org > Sent: Thu, April 15, 2010 8:51

Re: Topic Inheritance

2010-04-14 Thread go canal
canal From: Rob Davies To: users@activemq.apache.org Sent: Thu, April 15, 2010 8:51:50 AM Subject: Re: Topic Inheritance Yes - ActiveMQ supports destination hierarchies - a '.' dot notation denotes an element in the name. To extend your example - say you had models too -

Re: Topic Inheritance

2010-04-14 Thread Rob Davies
Yes - ActiveMQ supports destination hierarchies - a '.' dot notation denotes an element in the name. To extend your example - say you had models too - to subscribe to all Ford cars - you would use '>'. e.g. car.ford.> You can use the '*' to subscribe to everything for So to subscribe to cars -

Re: Topic Inheritance

2010-04-14 Thread Sebastian Rodriguez
Dear Carlos, You should have a look at the wildcard subscriptions: http://activemq.apache.org/wildcards.html It's more the other way around though: you publish to a specific topic and all the parent's subscribers will receive it, instead of publishing to a