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

New MQTT subscriptions receive older (not last published) retained message.

Rank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersConvert to sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.10.0, 2.10.1
    • 2.12.0
    • MQTT
    • None

    Description

      I have observed that new MQTT subscriptions on a given topic, receive older retained messages. Instead of getting the latest retained message published on the topic, the new subscription received an older message, published before that last one. 

       

      I have created a mqtt-test project that demonstrated the problem.  Check the readme, and run the Artemis broker test:

       

      mvn -Dtest=ArtemisTest verify

       

       The test project contains multiple MQTT brokers tests. Only Artemis broker tests fail.

       

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            assens Assen Sharlandjiev
            Votes:
            1 Vote for this issue
            Watchers:
            3 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 - 2h
                2h

                Slack

                  Issue deployment