activemq-issues mailing list archives

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

    [ https://issues.apache.org/jira/browse/ARTEMIS-1244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16058264#comment-16058264
] 

ASF GitHub Bot commented on ARTEMIS-1244:
-----------------------------------------

GitHub user jdanekrh opened a pull request:

    https://github.com/apache/activemq-artemis/pull/1358

    ARTEMIS-1244 propagate retain flag of received message

    

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

    $ git pull https://github.com/jdanekrh/activemq-artemis ARTEMIS-1244_fix-only

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

    https://github.com/apache/activemq-artemis/pull/1358.patch

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

    This closes #1358
    
----

----


> [mqtt] Retain flag of received message is lost (caught by outgoing interceptor)
> -------------------------------------------------------------------------------
>
>                 Key: ARTEMIS-1244
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1244
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: MQTT
>    Affects Versions: 2.1.0
>            Reporter: Michal Toth
>            Priority: Minor
>
> 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|http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/os/mqtt-v3.1.1-os.html#_Toc398718038].
> On the other hand I have found a sentence in [HiveMQ|http://www.hivemq.com/blog/mqtt-essentials-part-8-retained-messages]
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
true.
> {quote}
> So after all this might be a matter of implementation. (feature enhancement or rejected
bug)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message