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

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

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

Justin Bertram commented on ARTEMIS-1933:
-----------------------------------------

I attempted to reproduce this with no luck.  Can you provide the STOMP frames and {{broker.xml}} to reproduce this?

> 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
>            Priority: Major
>
> 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)