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

[LTS] Deleted scheduled message reappears after AMQ broker restart.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • journal
    • None
    • False
    • False
    • 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
    • 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

      The deleted scheduled message reappears after AMQ broker restart.

              rhn-support-jbertram Justin Bertram
              dbruscin Domenico Francesco Bruscino
              Tiago Bueno Tiago Bueno
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: