• Post Reply Bookmark Topic Watch Topic
  • New Topic

JMS message expiration and auto removal

 
Thomas Olausson
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I use JMS and IBM MQ series.
I want to automatically expire (and remove messages) that are sent to queues.
I set the message expiration with
setJMSExpiration(long);
but it doesn't have any effect, really,
After I sent the message, I do a getJMSExpiration, but it always return 0, no matter what I set it to.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!