Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorafinkbein2010-08-02 17:25:26 -0400
committerafinkbein2010-08-02 17:25:26 -0400
commit62dff564c5b9f0e21892e33299be5846d1cb7939 (patch)
treefb63795a40239ab498d22d11dc65e96fa3e0470e /plugins/org.eclipse.osee.framework.messaging
parent8e1392d4ef94483ad25c31b52781278c6e5a6aed (diff)
downloadorg.eclipse.osee-62dff564c5b9f0e21892e33299be5846d1cb7939.tar.gz
org.eclipse.osee-62dff564c5b9f0e21892e33299be5846d1cb7939.tar.xz
org.eclipse.osee-62dff564c5b9f0e21892e33299be5846d1cb7939.zip
Diffstat (limited to 'plugins/org.eclipse.osee.framework.messaging')
-rw-r--r--plugins/org.eclipse.osee.framework.messaging/src/org/eclipse/osee/framework/messaging/internal/activemq/ConnectionNodeActiveMq.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.framework.messaging/src/org/eclipse/osee/framework/messaging/internal/activemq/ConnectionNodeActiveMq.java b/plugins/org.eclipse.osee.framework.messaging/src/org/eclipse/osee/framework/messaging/internal/activemq/ConnectionNodeActiveMq.java
index 45abe25af8..e46d24cb07 100644
--- a/plugins/org.eclipse.osee.framework.messaging/src/org/eclipse/osee/framework/messaging/internal/activemq/ConnectionNodeActiveMq.java
+++ b/plugins/org.eclipse.osee.framework.messaging/src/org/eclipse/osee/framework/messaging/internal/activemq/ConnectionNodeActiveMq.java
@@ -273,11 +273,11 @@ class ConnectionNodeActiveMq implements ConnectionNodeFailoverSupport, MessageLi
try {
for (Entry<MessageConsumer, OseeMessagingListener> entry : listeners.entrySet()) {
if (entry.getValue().equals(listener)) {
- entry.getKey().setMessageListener(null);
consumersToRemove.add(entry.getKey());
}
}
for (MessageConsumer messageConsumer : consumersToRemove) {
+ listeners.remove(messageConsumer);
messageConsumer.setMessageListener(null);
messageConsumer.close();
}

Back to the top