}
private static void setProps(JChannel channel) {
ProtocolStack stack=channel.getProtocolStack();
MERGE2 merge=(MERGE2)stack.findProtocol(MERGE2.class);
if(merge != null) {
merge.setMinInterval(1000);
merge.setMaxInterval(3000);
}
TUNNEL tunnel=(TUNNEL)stack.getTransport();
if(tunnel != null) {
tunnel.setReconnectInterval(2000);