Interface AcknowledgementSink

    • Method Detail

      • acknowledge

        void acknowledge​(boolean release,
                         OperationResult result)
        Informs the receiver that a particular item was processed (successfully or not).
        release - If true, the item can be forgotten. If false, we want to receive that item again, presumably to be reprocessed later.
        result - Operation result in context of which the acknowledgement should take place. It is useful if the acknowledgement itself can take considerable time, e.g. when it involves a communication with an external party.