mirror of https://github.com/apache/activemq.git
ignoring the mutex for shutdown causes sporadic failures in open-wire
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@494331 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e349089a8d
commit
79f326ad53
|
@ -40,12 +40,8 @@ public class MutexTransport extends TransportFilter {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void oneway(Object command) throws IOException{
|
public void oneway(Object command) throws IOException{
|
||||||
if(command instanceof ShutdownInfo){
|
synchronized(writeMutex){
|
||||||
next.oneway(command);
|
next.oneway(command);
|
||||||
}else{
|
|
||||||
synchronized(writeMutex){
|
|
||||||
next.oneway(command);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue