Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-4195

Deleted scheduled message reappears after AMQ broker restart.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Done
    • AMQ 7.5.0.GA
    • AMQ 7.8.0.CR2
    • journal
    • None
    • Hide

      1. On AMQ 7.5, send 10 scheduled messages say for 15 mins :

      msg.setLongProperty("_AMQ_SCHED_DELIVERY", System.currentTimeMillis() + 900000);

      2. Go to the hawtio Operations > listScheduledMessages() > Execute.

      From the 10 messages, pick any message and get the messageID

      3. Within the same queue under Operations, go to “removeMessage(long)”

      Paste the messageID in and execute.

      4. Check the message count and we would see that the message count is now 9.

      5. Restart the AMQ broker and we would see the message count is back to 10

      Show
      1. On AMQ 7.5, send 10 scheduled messages say for 15 mins : msg.setLongProperty("_AMQ_SCHED_DELIVERY", System.currentTimeMillis() + 900000); 2. Go to the hawtio Operations > listScheduledMessages() > Execute. From the 10 messages, pick any message and get the messageID 3. Within the same queue under Operations, go to “removeMessage(long)” Paste the messageID in and execute. 4. Check the message count and we would see that the message count is now 9. 5. Restart the AMQ broker and we would see the message count is back to 10
    • Compatibility/Configuration
    • Medium
    • In prior releases, if you used the management API to delete a scheduled message, the message was removed from memory but not from storage. This caused the message to reappear when you restarted the broker. This issue is now resolved.
    • Documented as Resolved Issue
    • Verified in a release

    Description

      The deleted scheduled message reappears after AMQ broker restart.

      Attachments

        Issue Links

          Activity

            People

              rhn-support-jbertram Justin Bertram
              rhn-support-hnaram Herambh Naram
              Mikhail Krutov Mikhail Krutov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: