ExchangeFilter

fun interface ExchangeFilter<T : MessageExchange<*, *>> : Filter<T>

A filter for processing message exchanges in a filter chain.

Exchange filters can intercept and modify message exchanges as they pass through the processing pipeline, enabling cross-cutting concerns like logging, authentication, and error handling.

Parameters

T

The type of message exchange this filter handles

Inheritors

Functions

Link copied to clipboard
abstract override fun filter(exchange: T, next: FilterChain<T>): Mono<Void>

Processes the message exchange and optionally calls the next filter in the chain.