1 Reply Latest reply on Sep 18, 2002 12:33 AM by Hiram Chirino

    multiple topics or properties and selectors

    merlon clemmons Newbie

      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!