service.setMcastAddr("228.0.0.4");
service.setMcastPort(45564);
service.setMcastFrequency(500l);
service.setMcastDropTime(3000l);
cluster.setMembershipService(service);
ReplicationListener receiver = new ReplicationListener();
receiver.setTcpListenAddress("auto");
receiver.setTcpListenPort(4001);
receiver.setTcpSelectorTimeout(100l);
receiver.setTcpThreadCount(6);
cluster.setClusterReceiver(receiver);
ReplicationTransmitter sender = new ReplicationTransmitter();
sender.setReplicationMode("pooled");
cluster.setClusterSender(sender);
ReplicationValve valve = new ReplicationValve();