File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "removing message from queue" Watch "removing message from queue" New topic
Author

removing message from queue

Ravi Nikam
Greenhorn

Joined: Sep 28, 2007
Posts: 6
Hello,

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.
Venkata
Ranch Hand

Joined: Sep 07, 2007
Posts: 37
Hi

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

Hari
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: removing message from queue
 
Similar Threads
Find the Pending Messages in an Queue
How to configure a Connection Factory for Queue type message?
ActiveMQ: message transactions/history to be permanently stored
JMS messages not consumed after consuming some messages
MQSeries and GlassFish JMS