This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
JMS messages not consumed after consuming some messages
ActiveMQ: message transactions/history to be permanently stored
Find the Pending Messages in an Queue
MQSeries and GlassFish JMS
How to configure a Connection Factory for Queue type message?