3 Replies Latest reply on May 29, 2003 4:29 AM by Adrian Brock

    Does JMS messages time out?

    Michael Klem Newbie

      I have been trying to get some messages to expire but nothing I try seems to work.

      Using JBoss 3.0.7.
      Running the JBoss server and client app on the same box.
      Using MySQL for message persistance.

      My app running under JBoss sends 5 TextMessages to a topic. I set the time to live and JMSExpire fields to a value like 10 seconds. I can see the messages in the db.

      After about a minute or so, I fire up the client app that receives these messages. I would expect that the client does not receive any messages because they are supposed to be expired. However, my client app always receives all the messages.

      How is this supposed to work?

      Here are related posts: