You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Lionel Cons (JIRA)" <ji...@apache.org> on 2018/06/14 13:18:00 UTC

[jira] [Created] (ARTEMIS-1933) Wildcard subscriptions deliver queue message multiple times (STOMP)

Lionel Cons created ARTEMIS-1933:
------------------------------------

             Summary: Wildcard subscriptions deliver queue message multiple times (STOMP)
                 Key: ARTEMIS-1933
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1933
             Project: ActiveMQ Artemis
          Issue Type: Bug
            Reporter: Lionel Cons


Here is the scenario (using STOMP):
 - one subscription to {{/queue/test.foo}}
 - one subscription to {{/queue/test.*}}
 - one message sent to {{/queue/test.foo}}

Since we are dealing with queues, the message should be load-balanced between the two matching subscriptions so only one should get it. This is what ActiveMQ 5 does.

With Artemis, both subscriptions get the message.

FWIW, I'm using {{default-address-routing-type}} to make sure destinations starting with {{/queue/}} act like a queue (see ARTEMIS-1906).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)