On 24/05/17 06:52, girish lc wrote:
Hi Team,
I need help in deleting the message from the Queue in Qpid through Java
code.
Current status:
I am sending the messages to the Qpid Queue using JMS and from the Queue
I'm reading the messages through read module and now I need to delete the
particular message from the Queue based on some event. May I have any code
or API for this.
Generally, messages are removed from the queue once they have been
acknowledged by the consuming client. The default in JMS is (I believe)
auto-acknowledge, so when your message listener's onMessage() returns,
the library will automatically acknowledge the queue.
I'm not sure what you mean by 'read module' though. Are you using JMS to
consume messages? Or some other API?
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]