Class CommandMessageHandlerInterceptorChain

java.lang.Object
org.axonframework.messaging.commandhandling.interception.CommandMessageHandlerInterceptorChain
All Implemented Interfaces:
MessageHandlerInterceptorChain<CommandMessage>

@Internal public class CommandMessageHandlerInterceptorChain extends Object implements MessageHandlerInterceptorChain<CommandMessage>
Since:
5.0.0
Author:
Allard Buijze, Simon Zambrovski, Steven van Beelen
  • Constructor Details

    • CommandMessageHandlerInterceptorChain

      public CommandMessageHandlerInterceptorChain(@Nonnull List<MessageHandlerInterceptor<? super CommandMessage>> interceptors, @Nonnull CommandHandler commandHandler)
      Constructs a new CommandMessageHandlerInterceptorChain with a list of interceptors and an commandHandler.
      Parameters:
      interceptors - The list of handler interceptors that are part of this chain.
      commandHandler - The command handler to be invoked at the end of the interceptor chain.
  • Method Details