1 Reply Latest reply on Sep 11, 2004 4:22 AM by stephanenicoll

    Singleton topic subscriber not working

    arnoraps

      According to the wiki i should configure my message driven bean with:

       <message-driven>
       <ejb-name>testBean</ejb-name>
       <destination-jndi-name>topic/testTopic</destination-jndi-name>
       <configuration-name>Singleton Message Driven Bean</configuration-name>
       </message-driven>
      


      But still on all nodes of my cluster the mbean responses to any message in the topic, but i want that only one instance responses.

        • 1. Re: Singleton topic subscriber not working

          Uh?
          If you want only ONE receiver per message, use a queue.

          The Singleton MDB is *NOT* the behavior you expect. Using this you limit the pooling to only one instance per node.

          Anyway, a message will always be received by all subscribers of a Topic, whatever the pooling configuration.

          Regards,

          Stephane