activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (ARTEMIS-1244) [mqtt] Retain flag of received message is lost (caught by outgoing interceptor)
Date Wed, 21 Jun 2017 11:31:00 GMT


ASF GitHub Bot commented on ARTEMIS-1244:

GitHub user michalxo opened a pull request:

    Artemis 607 qe

    Please note, that testCheckInterceptedMQTTMessageProperties currently fails because of
issue     ARTEMIS-1244 [mqtt] Retain flag of received message is lost (caught by outgoing

You can merge this pull request into a Git repository by running:

    $ git pull artemis-607-qe

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1357
commit 90359ea3dceb6da73eb816a747c6c087e2125f57
Author: Michal Tóth <>
Date:   2017-06-21T09:37:45Z

    ARTEMIS-607 New tests AMQP,MQTT,Stomp interceptor properties tests
    Added tests for AMQP, MQTT and Stomp protocol for interceptors.
    Tests are checking intercepted message properties.
    Linked issue ARTEMIS-607

commit 8c00c752b1b5f11546e52701bfbcbc52439e83ec
Author: Michal Tóth <>
Date:   2017-06-21T11:17:54Z

    ARTEMIS-1244 Retain flag code todo comment
    Identified possible bug in MQTT receive of missing retained flag.


> [mqtt] Retain flag of received message is lost (caught by outgoing interceptor)
> -------------------------------------------------------------------------------
>                 Key: ARTEMIS-1244
>                 URL:
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: MQTT
>    Affects Versions: 2.1.0
>            Reporter: Michal Toth
>            Priority: Minor
> Upstream test: testCheckInterceptedMQTTMessageProperties] [|org/apache/activemq/artemis/tests/integration/interceptors/
> 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 [ Retain|].
> On the other hand I have found a sentence in [HiveMQ|]
part 8 article:
> {quote}
> 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
> {quote}
> So after all this might be a matter of implementation. (feature enhancement or rejected

This message was sent by Atlassian JIRA

View raw message