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 12:31:00 UTC

[jira] [Created] (ARTEMIS-1932) Wildcard subscriptions create permanent bindings (STOMP)

Lionel Cons created ARTEMIS-1932:
------------------------------------

             Summary: Wildcard subscriptions create permanent bindings (STOMP)
                 Key: ARTEMIS-1932
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1932
             Project: ActiveMQ Artemis
          Issue Type: Bug
            Reporter: Lionel Cons


When using STOMP to create a wildcard subscription to {{/queue/test.\*}}, Artemis creates a {{/queue/test.\*}} address and an eponymous ANYCAST queue within. So far, so good.

However, these automatically created objects are permanent and survive at the end of the connection.

Here is the test scenario:
 - start with an empty broker
 - connect
 - subscribe to {{/queue/test.\*}}
 - unsubscribe
 - disconnect
 - bug => the address and queue remain
 - connect
 - send a message to {{/queue/test.foo}}
 - bug => the message appears in the {{/queue/test.\*}} queue (in addition to {{/queue/test.foo}})

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)