@Reference
private EventAdmin eventAdmin;
public void generateEvent(@Nonnull ReplicationEventType replicationEventType, @Nonnull Dictionary<?, ?> properties) {
ReplicationEvent replicationEvent = new ReplicationEvent(replicationEventType, properties);
eventAdmin.postEvent(replicationEvent);
log.debug("replication event posted {}", replicationEvent);
}