mirror of https://github.com/apache/activemq.git
Applied patch for https://issues.apache.org/activemq/browse/AMQ-2191
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@921822 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
dc0f5b392b
commit
909c1c3d18
|
@ -17,6 +17,7 @@
|
|||
package org.apache.activemq.transport.vm;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.InterruptedIOException;
|
||||
import java.net.URI;
|
||||
import java.util.concurrent.LinkedBlockingQueue;
|
||||
import java.util.concurrent.atomic.AtomicBoolean;
|
||||
|
@ -100,7 +101,9 @@ public class VMTransport implements Transport, Task {
|
|||
}
|
||||
|
||||
} catch (InterruptedException e) {
|
||||
throw IOExceptionSupport.create(e);
|
||||
InterruptedIOException iioe = new InterruptedIOException(e.getMessage());
|
||||
iioe.initCause(e);
|
||||
throw iioe;
|
||||
} finally {
|
||||
// Allow the peer to change state again...
|
||||
peer.enqueueValve.decrement();
|
||||
|
|
Loading…
Reference in New Issue