Would like to ask what the difference between EventHandler vs Preprocessor?
We have a use case that certain property would be added in case there would be a publish action. Currently, it is applied to an event handler, and it seems that this properties were intermittently applied, whereas there is another property we added on preprocessor, and seems to be working fine.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @LyonMartin ,
EventHandler are fired asynchronously and hence orders are not maintained.
Also it doesn't notify if the event action completed successfully, as well as it doesn't guarantee completion.
Pre-processor have following advatages-
https://dileepakv.blogspot.com/2018/01/aem-replication-preprocessor.html
Thanks
Hi @LyonMartin ,
EventHandler are fired asynchronously and hence orders are not maintained.
Also it doesn't notify if the event action completed successfully, as well as it doesn't guarantee completion.
Pre-processor have following advatages-
https://dileepakv.blogspot.com/2018/01/aem-replication-preprocessor.html
Thanks