assert "payload".equals(msg.getObject());
}
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);
}
FD fd=(FD)stack.findProtocol(FD.class);