0 Replies Latest reply on Nov 5, 2004 4:08 AM by fredrik_is

    Is it possible for MDB to listen to multiple topics?

    fredrik_is

      I have tried to get an answer to this question by searching several fora on the internet, without success.

      There is a nice design pattern that I want to use, where a JMS subscriber is subscribing to more than one topic.
      The pattern speaks about topic names designed like this:
      Category1/specific1
      Category1/specifi2
      A subscriber that subscribes to the topic Category/* would receive messagese posted to both specific1 and specific2.

      A message driven bean (message listener) deployed on JBoss 3.2.6 seems to not have the possibility to listen to more than one topic. The element <destination-jndi-name> in jboss.xml does not seem to allow more than one single topic name.

      Am I right?

      Regards,
      Fredrik Israelsson, Uppsala