mirror of https://github.com/apache/activemq.git
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/branches/activemq-4.0@418124 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f7f2a22712
commit
1ca2d6f57a
|
@ -256,13 +256,15 @@ public class MulticastDiscoveryAgent implements DiscoveryAgent,Runnable{
|
||||||
String str=new String(packet.getData(),packet.getOffset(),packet.getLength());
|
String str=new String(packet.getData(),packet.getOffset(),packet.getLength());
|
||||||
processData(str);
|
processData(str);
|
||||||
}
|
}
|
||||||
}catch(SocketTimeoutException se){
|
} catch(SocketTimeoutException se){
|
||||||
// ignore
|
// ignore
|
||||||
}catch(IOException e){
|
} catch(IOException e){
|
||||||
|
if( started.get() ) {
|
||||||
log.error("failed to process packet: "+e);
|
log.error("failed to process packet: "+e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private void processData(String str){
|
private void processData(String str){
|
||||||
if (discoveryListener != null){
|
if (discoveryListener != null){
|
||||||
|
|
Loading…
Reference in New Issue