Event Listener when a page gets replicated for every Agent
Hi,
Does anybody knows how to intercept the event when a page or node gets Activated or Deactivated but for a specific Agent ?
I know that you can have a Replication Event Listener but that one gets call after the page gets Activated and doesn't say to which replication Agent it was replicated to.
I want to set a specific property in a page that gets Activated depending on the Agent that was sent to. Because the agents are triggered on different scenarios.
I have been trying to inject a ReplicationListener Interface in the Preprocess but that didn't work .
Does anyone have an idea how to achieve this? or point me in the right direction ?
Thanks