• Post Reply Bookmark Topic Watch Topic
  • New Topic

Expiring of JMS Message (not by time!)

 
Patrick Nolan
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is what I want to do.. is it possible?
My MDB will periodically send an async message to the queue. The newest message should supercede any previous messages. Ideally, the topic would hold just one message at time - the most recent message.
I want to avoid having the jms receiver loop through all msgs in the queue to get to the latest one.
Thanks,
Pat
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!