ReplicationEvent not triggering on the event in AEMaaCS
i'm trying to trigger this listener on the event of replication but its not triggering.
i have a scenario where i need delete zip extraction content in publish environment on event of unpublish/delete zipfile from author environment.
same solution its working fine in on-prem but in AEMaaCS is not working.
@8220494(service = EventHandler.class, immediate = true,
property = {
AppConstants.SERVICE_DESCRIPTION + "=Replication Listener on publish",
EventConstants.EVENT_TOPIC + "=" + "com/adobe/granite/replication"
})
public class ReplicationListener implements EventHandler {
private static final Logger LOG = LoggerFactory.getLogger(ReplicationListener.class);
@3214626
private JobManager jobManager;
@9944223
public void handleEvent(final Event event) {
final String METHOD_NAME = "handleEvent";
final ReplicationAction replicationAction = ReplicationEvent.fromEvent(event).getReplicationAction();
final ReplicationActionType actionType = replicationAction.getType();
final String filePath = replicationAction.getPath().
}
}
is there anything i need modify for AEMaaCS??
can anyone guide on this??