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

    Is it possible for MDB to listen to multiple topics?

    Fredrik Israelsson Newbie

      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:
      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?

      Fredrik Israelsson, Uppsala