WAN replication allows 2 remote data centers to maintain consistency across their data regions. There are circumstances when one data center cannot successfully process incoming events delivered over the WAN gateway and an exception is sent back to the sending data center along with the acknowledgment.
This proposal is to add a callback API to the Gateway Sender that will be executed when an exception is returned from the Gateway Receiver. Please review the following Wiki page containing more details and give us your feedback. https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=80452478