5 Replies Latest reply on Feb 11, 2013 2:25 AM by Yair Ogen

    How to Audit expired messages from durable subscriber?

    Yair Ogen Expert

      I have a problem where my expiry queue gets full because a durable subscriber failed to retrieve messages and then the expiry queue gets filled up.

       

      I'm writing a little app to clean up the expiry queue. I see I get the original message and the original destination. However:

       

      1. How can I know from which subscriber did these messages come from?
      2. How do I track the original message using the message id? I can't find this id anywhere in the system after the expiry occured.
      3. How do I convert the expiration timestamps to readable java Dates?

       

      Thanks,

       

      Yair