You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@activemq.apache.org by GitBox <gi...@apache.org> on 2020/04/21 17:10:21 UTC

[GitHub] [activemq] coheigea commented on a change in pull request #522: AMQ-7463 Getting concurrent modification exception

coheigea commented on a change in pull request #522:
URL: https://github.com/apache/activemq/pull/522#discussion_r412335919



##########
File path: activemq-client/src/main/java/org/apache/activemq/state/ConnectionState.java
##########
@@ -46,7 +46,7 @@
     private final List<DestinationInfo> tempDestinations = Collections.synchronizedList(new ArrayList<DestinationInfo>());
     private final AtomicBoolean shutdown = new AtomicBoolean(false);
     private boolean connectionInterruptProcessingComplete = true;
-    private HashMap<ConsumerId, ConsumerInfo> recoveringPullConsumers;
+    private ConcurrentMap<ConsumerId, ConsumerInfo> recoveringPullConsumers;

Review comment:
       Better just to define this as Map




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org