mirror of https://github.com/apache/activemq.git
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:
parent
41506505f4
commit
5b11c0e476
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue