You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In DefaultSubscriptionRegistry, multiple subscriptions on the same session should have unique subscription id's.
In DefaultSubscriptionRegistry.addSubscriptionInternal method, there are calls to:
Assume that registerSubscription is called with a message argument.
If findSubscriptions method is called with destination argument after addSubscription and before updateAfterNewSubscription, accessCache will contain duplicate subscriptionId for destination - sessionId key.
This will lead to a subscriber receives a message twice due to loop in SimpleBrokerMessageHandler.sendMessageToSubscribers
Bao Tran opened SPR-15543 and commented
In DefaultSubscriptionRegistry, multiple subscriptions on the same session should have unique subscription id's.
In DefaultSubscriptionRegistry.addSubscriptionInternal method, there are calls to:
Affects: 4.3.8
Issue Links:
Referenced from: pull request #1427, and commits 4fc41ee, b6e2524, 44c31a6, 8deec95
The text was updated successfully, but these errors were encountered: