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
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.