Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-4978

JMX message replay from retention cannot find AMQP messages when using filters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.36.0
    • 2.38.0
    • AMQP, JMX, management
    • None

    Description

      Attempting to recover messages with replay and filters fails to find AMQP messages.
      The following message properties used in filter do not match AMQP messages in retention files : AMQTimestamp, AMQPriority, ... which cause the replay process to be unable to restore the message.

       

      To reproduce, I have enhanced the existing message replay test case to verify filter behaviour.

      To run it, just replace the existing Artemis test class located in "tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/retention" with the provided one.

       

      Attachments

        1. ReplayTest.java
          7 kB
          Jean-Pascal Briquet

        Issue Links

          Activity

            People

              tabish Timothy A. Bish
              jpbriquet Jean-Pascal Briquet
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m