2 Replies Latest reply on Jan 16, 2012 1:40 AM by gaohoward

    why received duplicate message from hornetq server

    cjw_pisces

      Hi,all

       

            I made a test.

       

            It always found that the client receive duplicate message from server

       

            why?

       

            BR.

        • 1. Re: why received duplicate message from hornetq server
          cjw_pisces

          the test steps is below:

           

          1.first start the client, the client receive the below message

          send time: 2012-01-13 01:14:44 000458  receive time: 2012-01-13 01:20:39 000647receivedMsg: OPMEX
          receivedMsg: version: 12311
          receivedMsg: deviceType: 3
          receivedMsg: MsgType: 16

           

          2.i closed the client, then restart the client. the client recieve the same message again

          send time: 2012-01-13 01:14:44 000458  receive time: 2012-01-13 01:25:48 000062receivedMsg: OPMEX
          receivedMsg: version: 12311
          receivedMsg: deviceType: 3
          receivedMsg: MsgType: 16

          • 2. Re: why received duplicate message from hornetq server
            gaohoward

            Can you post your client code here? If you don't acknowledge the messaging in some way the message will be redelivered.

             

            Howard