Package org.springframework.integration.handler.advice
Provides classes that are used to advise
MessageHandlers with
cross-cutting concerns.-
Interface Summary Interface Description AbstractRequestHandlerAdvice.ExecutionCallback Called by subclasses in doInvoke() to proceed() the invocation.HandleMessageAdvice The markerMethodInterceptorinterface extension to distinguish advices for some reason.RetryStateGenerator Strategy interface for generating aRetryStateinstance based on a message. -
Class Summary Class Description AbstractHandleMessageAdvice The baseHandleMessageAdvicefor advices which can be applied only for theMessageHandler.handleMessage(Message).AbstractRequestHandlerAdvice Base class forMessageHandleradvice classes.CacheRequestHandlerAdvice TheAbstractRequestHandlerAdviceimplementation for cachingAbstractReplyProducingMessageHandler.RequestHandler#handleRequestMessage(Message)results.ErrorMessageSendingRecoverer ARecoveryCallbackthat sends the final throwable as anErrorMessageafter retry exhaustion.ExpressionEvaluatingRequestHandlerAdvice Used to adviseMessageHandlers.HandleMessageAdviceAdapter AHandleMessageAdviceimplementation with a plain delegation to the providedMethodInterceptor.IdempotentReceiverInterceptor TheMethodInterceptorimplementation for the Idempotent Receiver E.I.RateLimiterRequestHandlerAdvice AnAbstractRequestHandlerAdviceextension for a rate limiting to service method calls.ReactiveRequestHandlerAdvice AMethodInterceptorfor message handlers producing aMonoas 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 AMessagingExceptionwrapper for theRequestNotPermittedwith therequestMessageandtargetcontext.RequestHandlerCircuitBreakerAdvice.CircuitBreakerOpenException An exception thrown when the circuit breaker is in an open state.