File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Websphere and the fly likes removing message from queue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "removing message from queue" Watch "removing message from queue" New topic

removing message from queue

Ravi Nikam

Joined: Sep 28, 2007
Posts: 6

I want to Delete Messages from Queue once it is read.
Can anyone help me to implement this.

I am using WAS6.1 and getting messages from queue using javax.jms.QueueReceiver's receive() method.
Ranch Hand

Joined: Sep 07, 2007
Posts: 37

Either you can set the expery time on the messge or once the MDB reads it , it automatically deletes from Queue.

I agree. Here's the link:
subject: removing message from queue
It's not a secret anymore!