Home  > 

Method receiver.drain

Request any messages available at the sending end. This tells the sender to use all existing credit immediately to send deliveries and then discard any excess credit.

The sending end is notified of the drain request by the on-sender-drain-start event. The operation is complete when on-receiver-drain-finish fires.

Related: Method messaging-handler.on-sender-drain-start, Method messaging-handler.on-receiver-drain-finish