I have a question about the way topic mappings are done in JBossMQ. Is it possible (with the current codebase) to create a topic with an inherent hierarchial structure?
For example, a subscriber is interested in a certain topic ( i.e. 'topic/Transaction/objectType/ObjectSubtypeA/SubsubTypeB/' ) and would create the topic and register itself as a subscriber to that topic. A publisher will post messages to topics that either match this topic completely, or would match several higher level elements ( such as 'topic/Transaction/objectType/ObjectSubtypeA/' ). Is there a mechanism to be able to route these messages to subscribers that may not be subscribed to the exact topic, but to a sub-element of that topic?
AFAIK, the JMS API does not specify hierarchical topics, so you will have to code it by hand.
If you are not too worried about performance you could create MDB's that listen to the top-level topic and automatically resend the message to lower-level topics.