Skip to content

DefaultSubscriptionRegistry does not update destination cache when subscribed twice to same destination [SPR-11931] #16549

@spring-projects-issues

Description

@spring-projects-issues

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

Metadata

Metadata

Assignees

Labels

in: messagingIssues in messaging modules (jms, messaging)in: webIssues in web modules (web, webmvc, webflux, websocket)type: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions