No event triggered on Asset reaching onTime | Community
Skip to main content
vjleo94
Level 3
August 8, 2023
Solved

No event triggered on Asset reaching onTime

  • August 8, 2023
  • 2 replies
  • 1013 views

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.

 

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

EventConstants.EVENT_TOPIC + "=" + DamEvent.EVENT_TOPIC

})

 

Thanks and regards,

Vijaya Kumar A

 

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by arunpatidar

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?lang=en

2 replies

Jagadeesh_Prakash
Community Advisor
Community Advisor
August 8, 2023

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

Asset reaching onTime

vjleo94
vjleo94Author
Level 3
August 8, 2023

@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

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
August 8, 2023

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?lang=en

Arun Patidar