0 Replies Latest reply on Mar 3, 2012 11:08 AM by Martin G

    duplicate messages preventing not working

    Martin G Newbie

      hi guys,


      i'm sending a message through core the core api


                          ClientMessage message = session.createMessage(true);
                          SimpleString myUniqueID = new SimpleString(id);
                          message.putStringProperty(org.hornetq.api.core.Message.HDR_DUPLICATE_DETECTION_ID, myUniqueID);



      but the message will is not received by the consumer.

      if i comment out the putStringProperty line its working fine!



      did i miss anything here?








      btw: the docs are outdated, there is no org.hornetq.api.core.HDR_DUPLICATE_DETECTION_ID and no message.setStringProperty method - should i file a bug request?