Dear Carlos, You should have a look at the wildcard subscriptions: http://activemq.apache.org/wildcards.html <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 parent and all the child subscribers will receive it.
In your example, you could have: Car.Japanese.Nissan Car.Japanese.Mazda Car.American.Ford Car.American.Chrysler if you publish to Nissan, subscribers to Car.> or Car.Japanese.> or Car.Japanese.Nissan or Car.*.Nissan will receive the message. It's not exactly what you are asking for, but you will obtain the same results. Hope it helps! On 15 April 2010 00:35, carlosfocker <carlosfoc...@gmail.com> wrote: > > Does ActiveMQ allow for topics to have parent topics? For example, a > parent > topic Car might have two child topics called Ford and Nissan. If a > publisher publishes a message to the Car topic, both Ford and Nissan > subscribers would receive the message. If a message is published to the > Nissan topic, only Nissan topic subscribers would receive the message. > -- > View this message in context: > http://old.nabble.com/Topic-Inheritance-tp28245081p28245081.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > > -- Sebastien Rodriguez