https://issues.apache.org/jira/browse/AMQ-2662 - ActiveMQEndpointWorker.stop() sometimes is needing many minutes to shutdown; patch applied with thanks

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1086210 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2011-03-28 12:36:05 +00:00
parent 41506505f4
commit 5b11c0e476
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ public class ActiveMQEndpointWorker {
private final ActiveMQDestination dest;
private final Work connectWork;
private final AtomicBoolean connecting = new AtomicBoolean(false);
private final String shutdownMutex = "shutdownMutex";
private final Object shutdownMutex = new String("shutdownMutex");
private ActiveMQConnection connection;
private ConnectionConsumer consumer;