Updates the configuration of the replication push notification.
void updateReplicationNotifierConfiguration(REPLICATION_NOTIFIER_TYPE replicationNotifierType, ServerComponentVO serverComponent) throws SUPAdminException; void enableReplicationPushNotificationGatewayConfiguration(String serverComponentID, Boolean flag) throws SUPAdminException;
If successful, returns silently. If unsuccessful, returns SUPAdminException.
ServerComponentVO scvo = supServerConf
.getReplicationNotifierConfiguration(REPLICATION_NOTIFIER_TYPE.PUSH);
ServerComponentVO scvo_new = new ServerComponentVO(scvo.getID(), scvo
.getType());
Map<String, String> properties = scvo.getProperties();
properties.put("poll_every", "10");
scvo_new.setProperties(properties);
supServerConf.updateReplicationNotifierConfiguration(
REPLICATION_NOTIFIER_TYPE.PUSH, scvo_new);
supServerConf.enableReplicationNotifierConfiguration(
REPLICATION_NOTIFIER_TYPE.PUSH, true);
supServerConf.commit();