Uses of Interface
org.axonframework.messaging.core.MessageHandlerInterceptor
Packages that use MessageHandlerInterceptor
Package
Description
Contains the multi-tenancy API, like the tenant descriptor, tenant provider, and tenant resolution contracts.
Deadline support carried over from Axon Framework 4, to keep deadlines that were scheduled before migrating firing
while a project moves off this API.
Part of the Axon Extension module.
Part of the Axon Messaging module.
Part of the Axon Messaging module.
Part of the Axon Messaging module.
Part of the Axon Messaging module.
Part of the Axon Messaging module.
Part of the Axon Messaging module.
Part of the Axon Messaging module.
Part of the Axon Messaging module.
Part of the Axon Messaging module.
Part of the Axon Messaging module.
Part of the Axon Messaging module.
Test support for the deadlines carried by
axoniq-legacy.Test support for the sagas carried by
axon-legacy.-
Uses of MessageHandlerInterceptor in io.axoniq.framework.messaging.multitenancy.api
Classes in io.axoniq.framework.messaging.multitenancy.api that implement MessageHandlerInterceptorModifier and TypeClassDescriptionclassAMessageHandlerInterceptorthat registers theTenantDescriptorof the handledMessagein theProcessingContext, so components further down the handling chain route to that tenant without inspecting the message again. -
Uses of MessageHandlerInterceptor in org.axonframework.deadline
Methods in org.axonframework.deadline that return types with arguments of type MessageHandlerInterceptorModifier and TypeMethodDescriptionprotected List<MessageHandlerInterceptor<? super DeadlineMessage>> AbstractDeadlineManager.handlerInterceptors()Provides a list of registered handler interceptors.Methods in org.axonframework.deadline with parameters of type MessageHandlerInterceptorModifier and TypeMethodDescriptionAbstractDeadlineManager.registerHandlerInterceptor(MessageHandlerInterceptor<? super DeadlineMessage> handlerInterceptor) Registers the givenhandlerInterceptor, which is applied around the handling of everyDeadlineMessagewhen its deadline fires.Constructor parameters in org.axonframework.deadline with type arguments of type MessageHandlerInterceptorModifierConstructorDescriptionDeadlineDelivery(UnitOfWorkFactory unitOfWorkFactory, ScopeAwareProvider scopeAwareProvider, List<MessageHandlerInterceptor<? super DeadlineMessage>> handlerInterceptors) Creates aDeadlineDeliverydelivering through the given components. -
Uses of MessageHandlerInterceptor in org.axonframework.extension.spring.authorization
Classes in org.axonframework.extension.spring.authorization that implement MessageHandlerInterceptorModifier and TypeClassDescriptionclassMessageAuthorizationHandlerInterceptor<M extends Message>AMessageHandlerInterceptorthat verifies authorization based onSecuredannotations on the payload ofMessages. -
Uses of MessageHandlerInterceptor in org.axonframework.extension.springboot.autoconfig
Method parameters in org.axonframework.extension.springboot.autoconfig with type arguments of type MessageHandlerInterceptorModifier and TypeMethodDescriptionInterceptorAutoConfiguration.handlerInterceptorEnhancer(Optional<List<MessageHandlerInterceptor<Message>>> interceptors, Optional<List<MessageHandlerInterceptor<CommandMessage>>> commandInterceptors, Optional<List<MessageHandlerInterceptor<EventMessage>>> eventInterceptors, Optional<List<MessageHandlerInterceptor<QueryMessage>>> queryInterceptors) Bean creation method for aDecoratorDefinitionthat registersMessage-specificMessageHandlerInterceptorswith theHandlerInterceptorRegistry. -
Uses of MessageHandlerInterceptor in org.axonframework.messaging.commandhandling.configuration
Method parameters in org.axonframework.messaging.commandhandling.configuration with type arguments of type MessageHandlerInterceptorModifier and TypeMethodDescriptionCommandHandlingModule.CommandHandlerPhase.intercepted(ComponentBuilder<MessageHandlerInterceptor<? super CommandMessage>> interceptorBuilder) Registers an interceptor to be applied to the command handling component assembled by this module. -
Uses of MessageHandlerInterceptor in org.axonframework.messaging.commandhandling.interception
Classes in org.axonframework.messaging.commandhandling.interception that implement MessageHandlerInterceptorModifier and TypeClassDescriptionclassCommandSequencingInterceptor<M extends CommandMessage>AMessageHandlerInterceptorimplementation to sequence command execution.Constructor parameters in org.axonframework.messaging.commandhandling.interception with type arguments of type MessageHandlerInterceptorModifierConstructorDescriptionCommandMessageHandlerInterceptorChain(List<MessageHandlerInterceptor<? super CommandMessage>> interceptors, CommandHandler commandHandler) Constructs a newCommandMessageHandlerInterceptorChainwith a list ofinterceptorsand ancommandHandler.InterceptingCommandBus(CommandBus delegate, List<MessageHandlerInterceptor<? super CommandMessage>> handlerInterceptors, List<MessageDispatchInterceptor<? super CommandMessage>> dispatchInterceptors) Constructs aInterceptingCommandBus, delegating dispatching and handling logic to the givendelegate.InterceptingCommandHandlingComponent(List<MessageHandlerInterceptor<? super CommandMessage>> interceptors, CommandHandlingComponent delegate) Constructs a newInterceptingCommandHandlingComponentwrapping the givendelegatewith the giveninterceptors. -
Uses of MessageHandlerInterceptor in org.axonframework.messaging.core.configuration
Method parameters in org.axonframework.messaging.core.configuration with type arguments of type MessageHandlerInterceptorModifier and TypeMethodDescriptionMessagingConfigurer.registerCommandHandlerInterceptor(ComponentBuilder<MessageHandlerInterceptor<? super CommandMessage>> interceptorBuilder) MessagingConfigurer.registerEventHandlerInterceptor(ComponentBuilder<MessageHandlerInterceptor<? super EventMessage>> interceptorBuilder) MessagingConfigurer.registerMessageHandlerInterceptor(ComponentBuilder<MessageHandlerInterceptor<Message>> interceptorBuilder) MessagingConfigurer.registerQueryHandlerInterceptor(ComponentBuilder<MessageHandlerInterceptor<? super QueryMessage>> interceptorBuilder) -
Uses of MessageHandlerInterceptor in org.axonframework.messaging.core.interception
Classes in org.axonframework.messaging.core.interception that implement MessageHandlerInterceptorModifier and TypeClassDescriptionclassBeanValidationInterceptor<M extends Message>Interceptor that applies JSR303 bean validation on incomingMessages.classCorrelationDataInterceptor<M extends Message>AMessageDispatchInterceptorandMessageHandlerInterceptorimplementation usingCorrelationDataProvidersto collect and set a collection of correlation data.classLoggingInterceptor<M extends Message>AMessageDispatchInterceptorandMessageHandlerInterceptorimplementation that logs dispatched and incoming messages, and their result, to aLogger.Methods in org.axonframework.messaging.core.interception that return MessageHandlerInterceptorModifier and TypeMethodDescription@Nullable MessageHandlerInterceptor<? super M> HandlerInterceptorFactory.build(@NonNull Configuration config, @NonNull Class<?> componentType, @Nullable String componentName) Builds aMessageHandlerInterceptorfor the specified component.Methods in org.axonframework.messaging.core.interception that return types with arguments of type MessageHandlerInterceptorModifier and TypeMethodDescriptionList<MessageHandlerInterceptor<? super CommandMessage>> DefaultHandlerInterceptorRegistry.commandInterceptors(Configuration config, Class<?> componentType, @Nullable String componentName) List<MessageHandlerInterceptor<? super CommandMessage>> HandlerInterceptorRegistry.commandInterceptors(Configuration config, Class<?> componentType, @Nullable String componentName) Returns the list ofCommandMessage-specificMessageHandlerInterceptorsregistered in this registry for acomponentTypeandcomponentName.List<MessageHandlerInterceptor<? super EventMessage>> DefaultHandlerInterceptorRegistry.eventInterceptors(Configuration config, Class<?> componentType, @Nullable String componentName) List<MessageHandlerInterceptor<? super EventMessage>> HandlerInterceptorRegistry.eventInterceptors(Configuration config, Class<?> componentType, @Nullable String componentName) Returns the list ofEventMessage-specificMessageHandlerInterceptorsregistered in this registry for acomponentTypeandcomponentName.List<MessageHandlerInterceptor<? super QueryMessage>> DefaultHandlerInterceptorRegistry.queryInterceptors(Configuration config, Class<?> componentType, @Nullable String componentName) List<MessageHandlerInterceptor<? super QueryMessage>> HandlerInterceptorRegistry.queryInterceptors(Configuration config, Class<?> componentType, @Nullable String componentName) Returns the list ofQueryMessage-specificMessageHandlerInterceptorsregistered in this registry for acomponentTypeandcomponentName.Method parameters in org.axonframework.messaging.core.interception with type arguments of type MessageHandlerInterceptorModifier and TypeMethodDescriptionDefaultHandlerInterceptorRegistry.registerCommandInterceptor(ComponentBuilder<MessageHandlerInterceptor<? super CommandMessage>> interceptorBuilder) HandlerInterceptorRegistry.registerCommandInterceptor(ComponentBuilder<MessageHandlerInterceptor<? super CommandMessage>> interceptorBuilder) Registers the giveninterceptorBuilderfor aCommandMessageMessageHandlerInterceptorfor all command handling infrastructure components.DefaultHandlerInterceptorRegistry.registerEventInterceptor(ComponentBuilder<MessageHandlerInterceptor<? super EventMessage>> interceptorBuilder) HandlerInterceptorRegistry.registerEventInterceptor(ComponentBuilder<MessageHandlerInterceptor<? super EventMessage>> interceptorBuilder) Registers the giveninterceptorBuilderfor aEventMessageMessageHandlerInterceptorfor all event handling infrastructure components.DefaultHandlerInterceptorRegistry.registerInterceptor(ComponentBuilder<MessageHandlerInterceptor<Message>> interceptorBuilder) HandlerInterceptorRegistry.registerInterceptor(ComponentBuilder<MessageHandlerInterceptor<Message>> interceptorBuilder) Registers the giveninterceptorBuilderconstructing a genericMessageMessageHandlerInterceptorfor all handling infrastructure components.DefaultHandlerInterceptorRegistry.registerQueryInterceptor(ComponentBuilder<MessageHandlerInterceptor<? super QueryMessage>> interceptorBuilder) HandlerInterceptorRegistry.registerQueryInterceptor(ComponentBuilder<MessageHandlerInterceptor<? super QueryMessage>> interceptorBuilder) Registers the giveninterceptorBuilderfor aQueryMessageMessageHandlerInterceptorfor all query handling infrastructure components -
Uses of MessageHandlerInterceptor in org.axonframework.messaging.eventhandling.configuration
Fields in org.axonframework.messaging.eventhandling.configuration with type parameters of type MessageHandlerInterceptorModifier and TypeFieldDescriptionprotected BiFunction<Class<? extends EventProcessor>, String, List<MessageHandlerInterceptor<? super EventMessage>>> EventProcessorConfiguration.interceptorBuilderprotected List<MessageHandlerInterceptor<? super EventMessage>> EventProcessorConfiguration.interceptorsMethod parameters in org.axonframework.messaging.eventhandling.configuration with type arguments of type MessageHandlerInterceptorModifier and TypeMethodDescriptionDefaultEventHandlingComponentsConfigurer.intercepted(ComponentBuilder<MessageHandlerInterceptor<? super EventMessage>> interceptorBuilder) EventHandlingComponentsConfigurer.CompletePhase.intercepted(ComponentBuilder<MessageHandlerInterceptor<? super EventMessage>> interceptorBuilder) Registers an interceptor to be applied to all event handling components in this configurer. -
Uses of MessageHandlerInterceptor in org.axonframework.messaging.eventhandling.interception
Constructor parameters in org.axonframework.messaging.eventhandling.interception with type arguments of type MessageHandlerInterceptorModifierConstructorDescriptionEventMessageHandlerInterceptorChain(List<MessageHandlerInterceptor<? super EventMessage>> interceptors, EventHandler eventHandler) Constructs a newEventMessageHandlerInterceptorChainwith a list ofinterceptionand aneventHandler.InterceptingEventHandlingComponent(List<MessageHandlerInterceptor<? super EventMessage>> interceptors, EventHandlingComponent delegate) Constructs the component with the given delegate and interceptors. -
Uses of MessageHandlerInterceptor in org.axonframework.messaging.eventhandling.processing.streaming.pooled
Methods in org.axonframework.messaging.eventhandling.processing.streaming.pooled that return types with arguments of type MessageHandlerInterceptorModifier and TypeMethodDescriptionList<MessageHandlerInterceptor<? super EventMessage>> PooledStreamingEventProcessorConfiguration.interceptors()Returns the list ofEventMessage-specificMessageHandlerInterceptorsto add to thePooledStreamingEventProcessorunder construction with this configuration implementation.Methods in org.axonframework.messaging.eventhandling.processing.streaming.pooled with parameters of type MessageHandlerInterceptorModifier and TypeMethodDescriptionPooledStreamingEventProcessorConfiguration.withInterceptor(MessageHandlerInterceptor<? super EventMessage> interceptor) Registers the givenEventMessage-specificMessageHandlerInterceptorfor thePooledStreamingEventProcessorunder construction. -
Uses of MessageHandlerInterceptor in org.axonframework.messaging.eventhandling.processing.subscribing
Methods in org.axonframework.messaging.eventhandling.processing.subscribing that return types with arguments of type MessageHandlerInterceptorModifier and TypeMethodDescriptionList<MessageHandlerInterceptor<? super EventMessage>> SubscribingEventProcessorConfiguration.interceptors()Returns the list ofEventMessage-specificMessageHandlerInterceptorsto add to theSubscribingEventProcessorunder construction with this configuration implementation.Methods in org.axonframework.messaging.eventhandling.processing.subscribing with parameters of type MessageHandlerInterceptorModifier and TypeMethodDescriptionSubscribingEventProcessorConfiguration.withInterceptor(MessageHandlerInterceptor<? super EventMessage> interceptor) Registers the givenEventMessage-specificMessageHandlerInterceptorfor theSubscribingEventProcessorunder construction. -
Uses of MessageHandlerInterceptor in org.axonframework.messaging.monitoring.interception
Classes in org.axonframework.messaging.monitoring.interception that implement MessageHandlerInterceptorModifier and TypeClassDescriptionclassAMessageHandlerInterceptorforCommandMessagethat intercepts theMessageHandlerInterceptorChainto register theMessageMonitor.MonitorCallbackfunctions on theProcessingContexthooks.classAMessageDispatchInterceptorthat intercepts aMessageDispatchInterceptorChainofEventMessageand registers theMessageMonitor.MonitorCallbackhooks for reporting.classAMessageHandlerInterceptorforQueryMessagethat intercepts theMessageHandlerInterceptorChainto register theMessageMonitor.MonitorCallbackfunctions on theProcessingContexthooks. -
Uses of MessageHandlerInterceptor in org.axonframework.messaging.queryhandling.configuration
Method parameters in org.axonframework.messaging.queryhandling.configuration with type arguments of type MessageHandlerInterceptorModifier and TypeMethodDescriptionQueryHandlingModule.QueryHandlerPhase.intercepted(ComponentBuilder<MessageHandlerInterceptor<? super QueryMessage>> interceptorBuilder) Registers an interceptor to be applied to the query handling component assembled by this module. -
Uses of MessageHandlerInterceptor in org.axonframework.messaging.queryhandling.interception
Constructor parameters in org.axonframework.messaging.queryhandling.interception with type arguments of type MessageHandlerInterceptorModifierConstructorDescriptionInterceptingQueryBus(QueryBus delegate, List<MessageHandlerInterceptor<? super QueryMessage>> handlerInterceptors, List<MessageDispatchInterceptor<? super QueryMessage>> dispatchInterceptors, List<MessageDispatchInterceptor<? super SubscriptionQueryUpdateMessage>> updateDispatchInterceptors) Constructs aInterceptingQueryBus, delegating dispatching and handling logic to the givendelegate.InterceptingQueryHandlingComponent(List<MessageHandlerInterceptor<? super QueryMessage>> interceptors, QueryHandlingComponent delegate) Constructs a newInterceptingQueryHandlingComponentwrapping the givendelegatewith the giveninterceptors.QueryMessageHandlerInterceptorChain(List<MessageHandlerInterceptor<? super QueryMessage>> interceptors, QueryHandler queryHandler) Constructs a newQueryMessageHandlerInterceptorChainwith a list ofinterceptionand anqueryHandler. -
Uses of MessageHandlerInterceptor in org.axonframework.test.deadline
Methods in org.axonframework.test.deadline with parameters of type MessageHandlerInterceptorModifier and TypeMethodDescriptionStubDeadlineManager.registerHandlerInterceptor(MessageHandlerInterceptor<? super DeadlineMessage> handlerInterceptor) Registers the givenhandlerInterceptor, which is invoked around the consumer of each fired deadline. -
Uses of MessageHandlerInterceptor in org.axonframework.test.saga
Methods in org.axonframework.test.saga with parameters of type MessageHandlerInterceptorModifier and TypeMethodDescriptionFixtureConfiguration.registerDeadlineHandlerInterceptor(MessageHandlerInterceptor<? super DeadlineMessage> deadlineHandlerInterceptor) Registers a deadline handler interceptor which will always be invoked before a deadline is handled to perform a task specified in the interceptor.SagaTestFixture.registerDeadlineHandlerInterceptor(MessageHandlerInterceptor<? super DeadlineMessage> deadlineHandlerInterceptor) FixtureConfiguration.registerEventHandlerInterceptor(MessageHandlerInterceptor<? super EventMessage> interceptor) Registers the giveninterceptor, invoked around the Saga's event handling.SagaTestFixture.registerEventHandlerInterceptor(MessageHandlerInterceptor<? super EventMessage> interceptor)