@Nishma If still you are facing issue, try below one. But i recommand
the previous post which worked for me and below code was working in
local but not in the AEMcs environment. Note: I removed some code.
Please improvise and try according to your requirement @Component(
service = EventHandler.class, configurationPolicy =
ConfigurationPolicy.REQUIRE, property = {EventConstants.EVENT_TOPIC+"="
+ ReplicationAction.EVENT_TOPIC})public class
ReplicationListenerOnAuthor implements Runnable, EventHand...