recordFailure

abstract fun recordFailure(exchange: EventExchange<*, *>, error: Throwable): Mono<ProcessingOutcome>

Records that the function of exchange failed with error.

Return

ProcessingOutcome.FAILURE_RECORDED, ProcessingOutcome.FAILURE_WAIVED or ProcessingOutcome.FAILURE_UNRECORDED (empty means unrecorded); an error means the recording failed