Antoine Toulme created ARTEMIS-806:
--------------------------------------

             Summary: Publishing a MQTT message on one node of the cluster is 
not distributed to the subscriber on a different node when using topic pattern 
expression.
                 Key: ARTEMIS-806
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-806
             Project: ActiveMQ Artemis
          Issue Type: Bug
    Affects Versions: 1.4.0
            Reporter: Antoine Toulme


We are trying out ActiveMQ Artemis with MQTT. We are interested in using 
pattern subscription such as foo/# to listen to a set of topics.

We created a cluster in which one client publishes to a node, while an other 
one subscribes to another.

When using pattern subscriptions, we see that the subscriber does not receive 
the message.
When using an exact subscription (foo/bar), the subscriber receives the message.

I have managed to reproduce the issue by adjusting the symmetric cluster 
example.

Here is the code:
https://github.com/atoulme/activemq-artemis/tree/mqtt_cluster_test2

With this code, I see that messages are sent, but none are received.
If you change the subscription to “mqtt/bar” line 71 and 103, messages are 
passed OK.

More context here:
http://mail-archives.apache.org/mod_mbox/activemq-dev/201610.mbox/%3CC5A6C1AC-C985-4F30-AF4D-0E5F27E69D2B%40gmail.com%3E



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to