} else if (TRIGGER_SCHEDULED_EVENT.equals(factory)) {
String action = PropertiesUtil.toString(properties.get(TRIGGER_SCHEDULED_EVENT_PROPERTY_ACTION), ReplicationActionType.POLL.name());
String path = PropertiesUtil.toString(properties.get(TRIGGER_SCHEDULED_EVENT_PROPERTY_PATH), "/");
int interval = PropertiesUtil.toInteger(properties.get(TRIGGER_SCHEDULED_EVENT_PROPERTY_SECONDS), 30);
return new ScheduledReplicationTrigger(action, path, interval, scheduler);
} else if (TRIGGER_REPLICATION_EVENT.equals(factory)) {
String path = PropertiesUtil.toString(properties.get(TRIGGER_REPLICATION_EVENT_PROPERTY_PATH), null);
return new ChainReplicateReplicationTrigger(path, bundleContext);
} else if (TRIGGER_JCR_EVENT.equals(factory)) {