[seam-commits] Seam SVN: r13630 - branches/community/Seam_2_2/src/remoting/org/jboss/seam/remoting/messaging.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Tue Aug 24 20:52:01 EDT 2010
Author: shane.bryzak at jboss.com
Date: 2010-08-24 20:52:00 -0400 (Tue, 24 Aug 2010)
New Revision: 13630
Modified:
branches/community/Seam_2_2/src/remoting/org/jboss/seam/remoting/messaging/SubscriptionRegistry.java
Log:
JBSEAM-4697
Modified: branches/community/Seam_2_2/src/remoting/org/jboss/seam/remoting/messaging/SubscriptionRegistry.java
===================================================================
--- branches/community/Seam_2_2/src/remoting/org/jboss/seam/remoting/messaging/SubscriptionRegistry.java 2010-08-23 22:33:44 UTC (rev 13629)
+++ branches/community/Seam_2_2/src/remoting/org/jboss/seam/remoting/messaging/SubscriptionRegistry.java 2010-08-25 00:52:00 UTC (rev 13630)
@@ -2,11 +2,11 @@
import static org.jboss.seam.annotations.Install.BUILT_IN;
-import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import java.util.UUID;
+import java.util.concurrent.ConcurrentHashMap;
import javax.jms.ExceptionListener;
import javax.jms.JMSException;
@@ -39,7 +39,7 @@
private Object monitor = new Object();
- private Map<String,RemoteSubscriber> subscriptions = new HashMap<String,RemoteSubscriber>();
+ private Map<String,RemoteSubscriber> subscriptions = new ConcurrentHashMap<String,RemoteSubscriber>();
/**
* Contains a list of all the topics that clients are allowed to subscribe to.
More information about the seam-commits
mailing list