The OSGI event which is sent by the replication cannot be customized in a way, that you can provide a flag to the replication call, which then shows up in the event properties. Never heard of such a requirement before. That means you need to place the logic in the event handler.