Package org.springframework.integration.handler.advice
package org.springframework.integration.handler.advice
Provides classes that are used to advise
MessageHandlers with
cross-cutting concerns.-
ClassDescriptionThe base
HandleMessageAdvicefor advices which can be applied only for theMessageHandler.handleMessage(Message).Base class forMessageHandleradvice classes.Called by subclasses in doInvoke() to proceed() the invocation.TheAbstractRequestHandlerAdviceimplementation for cachingAbstractReplyProducingMessageHandler.RequestHandler#handleRequestMessage(Message)results.ARecoveryCallbackthat sends the final throwable as anErrorMessageafter retry exhaustion.Used to adviseMessageHandlers.The markerMethodInterceptorinterface extension to distinguish advices for some reason.AHandleMessageAdviceimplementation with a plain delegation to the providedMethodInterceptor.TheMethodInterceptorimplementation for the Idempotent Receiver E.I.AnAbstractRequestHandlerAdviceextension for a rate limiting to service method calls.AMessagingExceptionwrapper for theRequestNotPermittedwith therequestMessageandtargetcontext.AMethodInterceptorfor message handlers producing aMonoas a payload for reply.A circuit breaker that stops calling a failing service after threshold failures, until halfOpenAfter milliseconds has elapsed.An exception thrown when the circuit breaker is in an open state.Uses spring-retry to perform stateless or stateful retry.Strategy interface for generating aRetryStateinstance based on a message.Creates a DefaultRetryState from aMessage.