Package org.springframework.integration.handler.advice
Provides classes that are used to advise
MessageHandler
s with
cross-cutting concerns.-
Interface Summary Interface Description AbstractRequestHandlerAdvice.ExecutionCallback Called by subclasses in doInvoke() to proceed() the invocation.HandleMessageAdvice The markerMethodInterceptor
interface extension to distinguish advices for some reason.RetryStateGenerator Strategy interface for generating aRetryState
instance based on a message. -
Class Summary Class Description AbstractHandleMessageAdvice The baseHandleMessageAdvice
for advices which can be applied only for theMessageHandler.handleMessage(Message)
.AbstractRequestHandlerAdvice Base class forMessageHandler
advice classes.CacheRequestHandlerAdvice TheAbstractRequestHandlerAdvice
implementation for cachingAbstractReplyProducingMessageHandler.RequestHandler#handleRequestMessage(Message)
results.ErrorMessageSendingRecoverer ARecoveryCallback
that sends the final throwable as anErrorMessage
after retry exhaustion.ExpressionEvaluatingRequestHandlerAdvice Used to adviseMessageHandler
s.HandleMessageAdviceAdapter AHandleMessageAdvice
implementation with a plain delegation to the providedMethodInterceptor
.IdempotentReceiverInterceptor TheMethodInterceptor
implementation for the Idempotent Receiver E.I.RateLimiterRequestHandlerAdvice AnAbstractRequestHandlerAdvice
extension for a rate limiting to service method calls.ReactiveRequestHandlerAdvice AMethodInterceptor
for message handlers producing aMono
as a payload for reply.RequestHandlerCircuitBreakerAdvice A circuit breaker that stops calling a failing service after threshold failures, until halfOpenAfter milliseconds has elapsed.RequestHandlerRetryAdvice Uses spring-retry to perform stateless or stateful retry.SpelExpressionRetryStateGenerator Creates a DefaultRetryState from aMessage
. -
Exception Summary Exception Description AbstractRequestHandlerAdvice.ThrowableHolderException ErrorMessageSendingRecoverer.RetryExceptionNotAvailableException ExpressionEvaluatingRequestHandlerAdvice.MessageHandlingExpressionEvaluatingAdviceException RateLimiterRequestHandlerAdvice.RateLimitExceededException AMessagingException
wrapper for theRequestNotPermitted
with therequestMessage
andtarget
context.RequestHandlerCircuitBreakerAdvice.CircuitBreakerOpenException An exception thrown when the circuit breaker is in an open state.