when does replication event listener gets invoked? | Community
Skip to main content
mohanb
May 10, 2016
Solved

when does replication event listener gets invoked?

  • May 10, 2016
  • 4 replies
  • 1329 views

I've implemented a replication event listener via @Property(name="event.topics",value= ReplicationAction.EVENT_TOPIC). What i wanted to know was when does this listener gets invoked? Is it before replication or after replication? Is there any event which triggers after replication activity is complete?

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 Tuhin_Ghosh

It gets invoked after replication process is started from the author instance and before it is completed and pushed to publish instance.

 

Thanks

Tuhin

4 replies

Tuhin_Ghosh
May 10, 2016

Whenever there is change in your node, the event listener would trigger at that time and start working in its own thread.

 

Thanks

Tuhin

mohanb
mohanbAuthor
May 10, 2016

This is replication event listener. So it gets triggered when replication/ publish action is initiated. Am trying to know whether this listener gets invoked after replication process complete or before replication starts.

Tuhin_Ghosh
Tuhin_GhoshAccepted solution
May 11, 2016

It gets invoked after replication process is started from the author instance and before it is completed and pushed to publish instance.

 

Thanks

Tuhin

Mohit1
November 16, 2023

Hi @tuhin_ghosh ,

I have one doubt that the replication listner will be called before the node reaches to replication queue or before that ?

or replication queue listens to replication queue itself?

mohanb
mohanbAuthor
May 11, 2016

Is there any event which gets triggered after replication process is complete? I am using static agent to save the page on filesystem. Once that process is complete we need to copy/ ftp those files to different location