-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Closed
Labels
in: messagingIssues in messaging modules (jms, messaging)Issues in messaging modules (jms, messaging)type: enhancementA general enhancementA general enhancement
Milestone
Description
Rossen Stoyanchev opened SPR-11930 and commented
When removing a session, rather than a destination pattern based search, we should search for occurrences of the session id in the destination cache. It is arguably a more fail-safe way to guarantee the session is completely removed from the cache and would probably be more efficient.
A similar improvement could be made for individual subscriptions. When removing a subscription, search for occurrences of the session id in the destination cache, and then check if the subscription id is present.
In other words complete ignore destinations and focus on removing session and subscription ids.
Affects: 4.0.5
Issue Links:
- DefaultSubscriptionRegistry does not update destination cache when subscribed twice to same destination [SPR-11931] #16549 DefaultSubscriptionRegistry does not update destination cache when subscribed twice to same destination
Referenced from: commits 5092414, ce20abd
1 votes, 2 watchers
Metadata
Metadata
Assignees
Labels
in: messagingIssues in messaging modules (jms, messaging)Issues in messaging modules (jms, messaging)type: enhancementA general enhancementA general enhancement