Hi,
we are moving from a proprietary pub/sub product to jms and jbossmq. I have a question for those of you with more jms experience. Is it better to use multiple topics to route messages to appropriate handlers in an application or use a single topic and message properties/selectors.
Example:
We have the following defined events used in integration between subsystems. (this is a
AddSubcription
ModifySubscription
DeleteSubscription
AddParty
ModifyParty
DeleteParty
Is it more effecient/better in jms to model each of these as topics or to have fewer topics and use message properties/selectors.
They are currently modelled as seperate 'topics' with specific callbck routines for each type in the apps that subscribe to them. Not all apps subscribe to all events but some do.
thanks!
It is more efficient to have seperate topics since selector add more CPU load on the JMS server.