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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • AMQ 7.0.2.GA
    • AMQ 7.0.1.GA
    • None
    • None
    • Hide

      Upstream test: org/apache/activemq/artemis/tests/integration/interceptors/MQTTInterceptorPropertiesTest.java

      (full path in repo) activemq-artemis/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/interceptors/MQTTInterceptorPropertiesTest.java

      Not in git repo any branch, just locally. I will provide reproducer later today or tomorrow.

      Show
      Upstream test: org/apache/activemq/artemis/tests/integration/interceptors/MQTTInterceptorPropertiesTest.java (full path in repo) activemq-artemis/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/interceptors/MQTTInterceptorPropertiesTest.java Not in git repo any branch, just locally. I will provide reproducer later today or tomorrow.

      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)

            rh-ee-ataylor Andy Taylor
            mtoth@redhat.com Michal Toth
            Michal Toth Michal Toth
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: