Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.
SOLVED

No event triggered on Asset reaching onTime

Avatar

Level 4

Hi, 

 

I have an event handler to handle events on replication of an asset and when the asset has reached onTime. 

 

I am getting an event "ASSET_PUBLISHED" when replication happens. But nothing is happening when the asset reaches onTime. I have some operations to be done only if asset has already reached onTime. 

 

Below is my event handler.

 

@component(service = EventHandler.class, immediate = true, property = {

EventConstants.EVENT_TOPIC + "=" + DamEvent.EVENT_TOPIC

})

 

Thanks and regards,

Vijaya Kumar A

 

 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Could you please check the replication agent setting

  • On-/Offtime reached

    This will trigger automatic replication (to activate or deactivate a page as appropriate) when the ontimes or offtimes defined for a page occur. This is primarily used for Dispatcher Flush agents.


https://experienceleague.adobe.com/docs/experience-manager-65/deploying/configuring/replication.html...



Arun Patidar

View solution in original post

3 Replies

Avatar

Community Advisor

@vjleo94  can you please elobrate by what do you mean by 

Asset reaching onTime

Avatar

Level 4

@Jagadeesh_Prakash , We can set onTime for a page or an asset in AEM. It is the time on which the resource will be made available in publishers. 

http://wemcode.wemblog.com/on-off-time-behavior-in-cq-aem

Avatar

Correct answer by
Community Advisor

Could you please check the replication agent setting

  • On-/Offtime reached

    This will trigger automatic replication (to activate or deactivate a page as appropriate) when the ontimes or offtimes defined for a page occur. This is primarily used for Dispatcher Flush agents.


https://experienceleague.adobe.com/docs/experience-manager-65/deploying/configuring/replication.html...



Arun Patidar