Hi all,
I have built an event handler, which listens to replication events (@Property(name = "event.topics", value = { ReplicationAction.EVENT_TOPIC })) and modifies/adds a property to the page content within its handleEvent method.
What I have seen is that the new property is not transferred to the publish system on the first activation of the page. When I activate again, then the property is of course already set and it is transferred to the publish system.
My question is: Is that behaviour defined, so that I can depend on it? Or is it somehow related to timing, which version of the page is transferred to the publish system?
And: would using the JobProcessor change the behaviour?
Thanks a lot for your input!
Regards,
Daniel
PS: I am still using CQ 5.4 (an update is planned, would that change the behaviour?)