catch interupted exceptions

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@386076 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
James Strachan 2006-03-15 14:14:29 +00:00
parent a2fc7a2dc0
commit 9c19776c17
1 changed files with 6 additions and 1 deletions

View File

@ -322,7 +322,12 @@ public class FailoverTransport implements CompositeTransport {
// Wait for transport to be connected.
while (connectedTransport == null && !disposed && connectionFailure==null ) {
log.debug("Waiting for transport to reconnect.");
reconnectMutex.wait(1000);
try {
reconnectMutex.wait(1000);
}
catch (InterruptedException e) {
log.debug("Interupted: " + e, e);
}
}
if( connectedTransport==null ) {