Updates the configuration of the replication push notification.
void SUPServerConfiguration.updateReplicationNotifierConfiguration(replicationNotifierType, serverComponent) void SUPServerConfiguration.enableReplicationNotifierConfiguration(replicationNotifierType, flag)
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();