le roy arnaud opened SPR-11931 and commented
If you subscribe to the same destination twice on the same connection/session, and then you unscribe one of them the both remains.
after some search the problem could be into the cache mechanism.
probably at this point :
DefaultSubscriptionRegistry::removeSubscriptionInternal
....
if (info.getSubscriptions(destination) == null)
...
Affects: 4.0.5
Issue Links:
Referenced from: commits 083d415, 5092414