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:
Robert Davies 2007-01-09 06:51:17 +00:00
parent e349089a8d
commit 79f326ad53
1 changed files with 1 additions and 5 deletions

View File

@ -40,12 +40,8 @@ public class MutexTransport extends TransportFilter {
}
public void oneway(Object command) throws IOException{
if(command instanceof ShutdownInfo){
synchronized(writeMutex){
next.oneway(command);
}else{
synchronized(writeMutex){
next.oneway(command);
}
}
}