1 Reply Latest reply on Aug 18, 2011 4:23 AM by Andy Taylor

    How duplicate Message detection works in cluster ?

    java into Newbie

      I am using this property within a cluster to detect the dulpicates entering my clusterred queue.

      I see that the suplicate detetction works very well  the question is have is how it works across machines.

       

      message.setStringProperty(HDR_DUPLICATE_DETECTION_ID.toString(), myUniqueID);

       

       

      For example Machine A and MAchine B form a cluster.

       

      for every message enterting A is there a communication done to machine B that donot accept any messages for this particaular Unique Id and then machine Ba also does the same for Machine A.

       

      Is there a interval in which this happens and is it configurable or does the chatter happen per message ?

       

      Thanks

        • 1. Re: How duplicate Message detection works in cluster ?
          Andy Taylor Master

          for every message enterting A is there a communication done to machine B that donot accept any messages for this particaular Unique Id and then machine Ba also does the same for Machine A.

          No there is no communication, there doesn't have to be as only 1 message with a unique id can ever exist in the cluster at any one time. Unless your application is floored of course and re uses ID's.

           

          p.s. can you use the correct forum for posts please? (user forum)