Interface ReactorMessageDispatchInterceptorChain<M extends Message>
- Type Parameters:
M- the type ofMessagethis chain handles
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Reactor equivalent of
MessageDispatchInterceptorChain.
Each link in the chain processes or enriches the message before passing it to the next link. The terminal link returns the message as-is.
- Since:
- 4.4.2
- Author:
- Milan Savic, Theo Emanuelsson
-
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<?> proceed(M message, @Nullable ProcessingContext context) Proceeds with the next interceptor in the chain, or returns the message as-is if this is the terminal link.
-
Method Details
-
proceed
Proceeds with the next interceptor in the chain, or returns the message as-is if this is the terminal link.- Parameters:
message- the message to processcontext- the active processing context, if any- Returns:
- a
Monothat completes with the (possibly enriched) message
-