3 Replies Latest reply on Jan 2, 2008 12:32 PM by timfox

    Ensuring single delivery to clustered MDB subscriptions for

    mpr_prabhu

      Hi.
      We are planning on using clustering to cluster a Topic. There are 2 different MDBs that subscribe to this topic.

      The deployment we are trying to use, we have topic on mulitiple nodes and MDBs on all the nodes. We would like the message delivery to happen to one of the MDB instances of bot types in the cluster.

      The behavior we are getting is that message is delivered on all the topics and all of MDBs recieve the messages

      Is there anyway to achieve only single delivery to MDB across the cluster?

      Thanks

        • 1. Re: Ensuring single delivery to clustered MDB subscriptions
          timfox

          Maybe I don't understand the question, but a topic always delivers any messages to *all* subscribers (assuming no message selectors).

          • 2. Re: Ensuring single delivery to clustered MDB subscriptions
            mpr_prabhu


            The problem we are trying to solve is that we have

            AListenerMDB and BListenerMDB listening to Topic topicA

            We have 3 nodes and the topic and MDBs are deployed on all the nodes in clustered mode.

            Any message posted to the topic is seen on all the nodes and hence reaching the MDBs on all the nodes.(Will have to confirm this behavior again)

            What we sould like to achieve is message posted from client be seen on only one of the nodes and passed to MDBs on that node only

            I will check the confgurations once again and check the behavior as per my understanding of the clustering a message should reach only one topic and passed to al subscriptions on that node only

            • 3. Re: Ensuring single delivery to clustered MDB subscriptions
              timfox

              The whole point of a clustered topic is that it is clustered across *all* nodes, i.e. all consumers on *all* nodes will get the message.

              If you don't want consumers on other nodes to get the message then don't user a clustered topic!