3 Replies Latest reply on Dec 6, 2012 1:58 PM by dknc

    can I intercept replication event on cq publish instance?

    dknc

      http://dev.day.com/docs/en/cq/current/deploying/configuring_cq/replication.html says this happens on the publish instance during replication:

      a servlet in the publish environment receives the request and publishes the received content; the default servlet ishttp://localhost:4503/bin/receive.

       

      Is there a way I can write custom Java or any kind of CQ handler whatsoever to intercept that replication request on the cq publish instance?  I would like to send a notification to a downstream system when a publish is successful.

       

      We have also considered writing our notification handler on the cq author instance but then we have a race condition between receipt of notification and completion of the publish ... the author would unwisely send our notification without any opportunity to know if publish was successful.