1 Reply Latest reply on Sep 13, 2004 3:55 PM by bhanu b

    Duplicate messages received from Queue

    bhanu b Newbie

      hi,
      1. I am subscribing to a persistent queue (JBOSS version 3.2.5). However even after consuming a message (the susbscriber throws No Exception) and sending the acknowledgement, the message is not being removed from the Queue.

      2. The same message is not being sent again by the queue (if the case was that of acknowledgement not being received by the Queue)

      Please help, thanks

        • 1. Re: Duplicate messages received from Queue
          bhanu b Newbie

          The mean cause for such an action lies in the code itself:
          namely- the QueueSession being invalidated by an exception.

          The acknowledegement flow only when the QueueSession returns without an exception in case of a transacted queue. Make sure that the transacted value is false in case u want to use individual acknowledgements.
          thanks.