On 24/05/17 08:45, girishlc wrote:
Hi Gordon,

Thanks for the reply,

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.

1. Actually what if some other client also wants to read that message ?

If you want to view messages without consuming them, you should use the QueueBrowser part of the API.

2. Is there any setting that we need to do at Qpid WebManagement portal ?
    I can see the status of the message changes from "Available" to
"Acquired" after reading the message from Client, but how to remove this
from the Queue.

When the consuming client acknowledges the acquired message, it should be removed.

3. Is there any method to delete the message based on the "Message Id"

Not directly, no. You could consume using a selector the picks a particular message id. That is not terribly efficient though as it's not really the mode of operation brokers were designed for.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to