Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

removing message from queue

 
Ravi Nikam
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

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

Hari
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic