Package org.springframework.integration.handler.advice
package org.springframework.integration.handler.advice
Provides classes that are used to advise
MessageHandler
s with
cross-cutting concerns.-
ClassDescriptionThe base
HandleMessageAdvice
for advices which can be applied only for theMessageHandler.handleMessage(Message)
.Base class forMessageHandler
advice classes.Called by subclasses in doInvoke() to proceed() the invocation.TheAbstractRequestHandlerAdvice
implementation for cachingAbstractReplyProducingMessageHandler.RequestHandler#handleRequestMessage(Message)
results.ARecoveryCallback
that sends the final throwable as anErrorMessage
after retry exhaustion.Used to adviseMessageHandler
s.The markerMethodInterceptor
interface extension to distinguish advices for some reason.AHandleMessageAdvice
implementation with a plain delegation to the providedMethodInterceptor
.TheMethodInterceptor
implementation for the Idempotent Receiver E.I.AnAbstractRequestHandlerAdvice
extension for a rate limiting to service method calls.AMessagingException
wrapper for theRequestNotPermitted
with therequestMessage
andtarget
context.AMethodInterceptor
for message handlers producing aMono
as 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 aRetryState
instance based on a message.Creates a DefaultRetryState from aMessage
.