You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2015/03/02 16:04:04 UTC

[jira] [Commented] (AMQ-5622) STOMP clients can only delete durable subscriptions when clientId equals subscriptionName

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

Timothy Bish commented on AMQ-5622:
-----------------------------------

Are you using STOMP client in 1.1+ mode or a STOMP 1.0 client.  If only using 1.0 then you still need to have matching values as the 1.0 specification doesn't support uniquely identifying a subscription using an 'id' value.  

> STOMP clients can only delete durable subscriptions when clientId equals subscriptionName
> -----------------------------------------------------------------------------------------
>
>                 Key: AMQ-5622
>                 URL: https://issues.apache.org/jira/browse/AMQ-5622
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: stomp
>    Affects Versions: 5.7.0
>            Reporter: Michael Justin
>              Labels: test
>
> For durable topic subscriptions STOMP clients must specify the same clientId on the connection and subcriptionName on the subscribe prior to v5.7.0. (https://issues.apache.org/jira/browse/AMQ-3917)
> Removing the subscription however is only possible if the same clientId on the connection and subcriptionName on the subscribe is used. The STOMP unit tests fulfill this condition (both have the same value, "test"). I suggest to modify the unit test to use different values for clientId and subcriptionName to verify this bug. 



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