Implement Asynchronous Send Acknowledgements

WARNING - TOPIC NOT WRITTEN - TOPIC ID: 637

This topic has not yet been written. The content below is from the topic description.
20.4.1. Asynchronous Send Acknowledgements To use the feature using the core API, you implement the interface org.hornetq.api.core.client.SendAcknowledgementHandler and set a handler instance on your ClientSession. Then, you just send messages as normal using your ClientSession, and as messages reach the server, the server will send back an acknowledgement of the send asynchronously, and some time later you are informed at the client side by HornetQ calling your handler's sendAcknowledged(ClientMessage message) method, passing in a reference to the message that was sent. To enable asynchronous send acknowledgements you must make sure confirmation-window-size is set to a positive integer value, e.g. 10MiB Please see Section 11.1.45, “Send Acknowledgements� for a full working example.