The feature of not matching the client ID and the subscription name only
works for the newer STOMP v1.1+ style subscriptions where the 'id' value
is included. In your example you would need to match the client ID to
the subscription name.
Refer to this test using v1.1:
https://github.com/apa
The client connects and specified a client id:
CONNECT
client-id:test2
and subscribes with a subscription name
SUBSCRIBE
destination:/topic/TestUnsubscribeDurable
ack:auto
id:...
activemq.subscriptionName:testsub
But when the client sends the two unsubscribe fram