Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Status of the publish agents/status of activation in Author replication event

Level 6
Level 6

Hi Team,

 We have written a custom code to push the information o the AWS cloud and to the publishers as well. 

Its working fine but the problem is if some reason publishers are not available or publishing agents are blocked.. it is still pushing to the AWS cloud basically what I am looking is is there any way to check that page is activated or not, If that is activated then only I can push that info to the AWS cloud. Its kind of urgent.



0 Replies
Community Manager
Community Manager


Couple of ways to check if page is active or not:

1.  Create an OSGI Service bundle that implements the EventHandler class and listen for your required events..  I.e you can get the ReplicationAction using ReplicationAction.fromEvent(yourevent) and check if it matches the event of interest. You could get status by ReplicationStatus status = page.adaptTo(ReplicationStatus.class) .

2. Check the audit log at /var/audit/ if on the author, nodes have the cq:Type of Activate/Deactivate. 


Also a reference article:-

// How to find all the pages modified or activated after certain time


I hope this would help you.


Level 6
Level 6

Thanks kautuk  , In my situation I will try to use the replication status API .