Q
Problem solve Get help with specific problems with your technologies, process and projects.

Is it possible to delete a JMS message from the queue without it being received by any client?

Is it possible to delete a JMS message from the queue without it being received by any client?
No, unless you don't mind relying on some vendor proprietary extension of the JMS API. To consume a message, a client has to receive and acknowledge it.

JMS providers typically provide a graphical user interface admin tool to view the contents of a queue, and to delete messages.

Another point to consider: When a JMS message's time-to-live has expired, it automatically disappears from the queue.


Dig Deeper on Topics Archive

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Join the conversation

1 comment

Send me notifications when other members comment.

Please create a username to comment.

can any one can explain about Can we delete message from JMS Queue ? Possible how?
Cancel

-ADS BY GOOGLE

SearchSoftwareQuality

SearchAWS

SearchCloudComputing

TheServerSide.com

Close