2 Replies Latest reply on Jul 25, 2003 10:36 AM by adrian.brock

    JMS Message Expiration problem

    rkbeach


      Hi All,

      ENV: JBoss App Server 3.2.1
      OS: Solaris 2.8

      When I send mesgs to a Topic with a mesg expiration time set to 180 milli-seconds, and later on, change the expiration time to 3 minutes, I see that the mesgs (with the new expiration time of 3 minutes) are not being processed (meaning, they are not consumed by the MDB's)...looks like the JMS Server is not processing mesgs if there are expired mesgs in the Topic...

      Previously, I came across some posts in this forum, which indicated that there is a problem with the 3.0.7 version of JB, wherein, if a queue has expired mesgs, it's not receiving any more mesgs...

      I thought that the problem was fixed in 3.2.1....was it not fixed?

      Can anyone help?

      Thanks much,
      Srini

        • 1. Re: JMS Message Expiration problem
          rkbeach


          Also, a quick question...if a mesg expires, and assuming that the message is persisted (by the file persistence mode) will the message be removed from disk as well? In my case, I see a bunch of mesgs (presumably expired ones) still in the directory which I use for persisting them...

          Thanks much,
          Srini

          • 2. Re: JMS Message Expiration problem

            Yes, the fix is in 3.2.1 and 3.0.7

            Can you show the code that reproduces the problem?
            Can you enable TRACE logging for org.jboss.mq
            (there is an example in conf/log4j.xml)

            Can you see if there is a deadlock by taking a threaddump.

            Regards,
            Adrian