ExchangeAck
object ExchangeAck
Utilities for acknowledging message exchanges.
Provides extension functions to ensure messages are acknowledged regardless of processing success or failure.
Functions
Link copied to clipboard
inline fun <T : MessageExchange<*, *>> Flux<T>.filterThenAck(crossinline predicate: (T) -> Boolean): Flux<T>
Filters the flux and acknowledges exchanges that don't match the predicate.
Link copied to clipboard
Ensures the exchange is acknowledged after Flux completion, even on error.
Ensures the exchange is acknowledged after Mono completion, even on error.