mirror of https://github.com/apache/activemq.git
additional fix for fo:r https://issues.apache.org/jira/browse/AMQ-3921 make sure on selector change that we remove the subscription from the list so that the updated one gets put back in.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1359952 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4ae6807cc2
commit
425fa47360
|
@ -220,6 +220,9 @@ public class Topic extends BaseDestination implements Task {
|
|||
// Need to delete the subscription
|
||||
topicStore.deleteSubscription(clientId, subscriptionName);
|
||||
info = null;
|
||||
synchronized (consumers) {
|
||||
consumers.remove(subscription);
|
||||
}
|
||||
} else {
|
||||
synchronized (consumers) {
|
||||
if (!consumers.contains(subscription)) {
|
||||
|
|
Loading…
Reference in New Issue