Posted: Wed Feb 16, 2005 10:54 am Post subject: JMS Message Expiration Time
Newbie
Joined: 11 Feb 2005 Posts: 4
We have a REQ to have different expiration time for messages based on business rules;
What is the preferred way to set the expiration time of a message?
Is it using the setJMSExpiration(currentTime+timeToLive as long)? Or
setting the time to live as the message is publised using publish(Message message, int deliveryMode, int priority, long timeToLive)? Do they work?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum