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 
                 Key: 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 

Here is the code:

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:

This message was sent by Atlassian JIRA

Reply via email to