Bad logic was not propagating the transport exception up.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@649658 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Hiram R. Chirino 2008-04-18 19:12:07 +00:00
parent 54a93378ac
commit c382b5048d
1 changed files with 3 additions and 3 deletions

View File

@ -239,9 +239,9 @@ public class InactivityMonitor extends TransportFilter {
} }
public void onException(IOException error) { public void onException(IOException error) {
if (!failed.compareAndSet(false,true)) { if (failed.compareAndSet(false, true)) {
stopMonitorThreads(); stopMonitorThreads();
transportListener.onException(error); transportListener.onException(error);
} }
} }