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

[mqtt] Retain flag of received message is lost (caught by outgoing interceptor)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.2.0
    • Component/s: MQTT
    • Labels:
      None

      Description

      Upstream test: testCheckInterceptedMQTTMessageProperties] [https://github.com/michalxo/activemq-artemis/commit/119e90c6c5bd2ae523e01368544ae3cb66987c4a#diff-d2a66663368a8238bae6dc85ccbd5a5d|org/apache/activemq/artemis/tests/integration/interceptors/MQTTInterceptorPropertiesTest.java
      Asked for PR.

      While implementing an upstream test and checking MQTT Outgoing interceptor, I have noticed that retain flag set to true is being lost when sending message out.

      However I did not manage to get information about this specific in 3.3.1.3. Retain.
      On the other hand I have found a sentence in HiveMQ part 8 article:

      Also the subscribing client can identify if a received message was a retained message or not, because the broker sends out retained messages with the retained flag still set to true.

      So after all this might be a matter of implementation. (feature enhancement or rejected bug)

        Attachments

          Activity

            People

            • Assignee:
              andytaylor Andy Taylor
              Reporter:
              michalxo Michal Toth
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: