Uses of Interface
org.axonframework.messaging.MessageHandlerInterceptor
Packages that use MessageHandlerInterceptor
Package
Description
Classes that implement the concept of command handling using explicit command objects.
Classes related to event handling and dispatching, such as
Event Listeners and the Event Bus.Classes related to message processing in Axon Framework.
A collection of classes which may prove useful when testing Axon-based classes.
-
Uses of MessageHandlerInterceptor in org.axonframework.axonserver.connector.command
Methods in org.axonframework.axonserver.connector.command with parameters of type MessageHandlerInterceptorModifier and TypeMethodDescriptionAxonServerCommandBus.registerHandlerInterceptor(MessageHandlerInterceptor<? super CommandMessage<?>> handlerInterceptor) -
Uses of MessageHandlerInterceptor in org.axonframework.axonserver.connector.query
Methods in org.axonframework.axonserver.connector.query with parameters of type MessageHandlerInterceptorModifier and TypeMethodDescriptionAxonServerQueryBus.registerHandlerInterceptor(MessageHandlerInterceptor<? super QueryMessage<?, ?>> interceptor) -
Uses of MessageHandlerInterceptor in org.axonframework.commandhandling
Methods in org.axonframework.commandhandling with parameters of type MessageHandlerInterceptorModifier and TypeMethodDescriptionSimpleCommandBus.registerHandlerInterceptor(MessageHandlerInterceptor<? super CommandMessage<?>> handlerInterceptor) Registers the given interceptor to the command bus. -
Uses of MessageHandlerInterceptor in org.axonframework.commandhandling.distributed
Methods in org.axonframework.commandhandling.distributed with parameters of type MessageHandlerInterceptorModifier and TypeMethodDescriptionDistributedCommandBus.registerHandlerInterceptor(MessageHandlerInterceptor<? super CommandMessage<?>> handlerInterceptor) -
Uses of MessageHandlerInterceptor in org.axonframework.config
Fields in org.axonframework.config with type parameters of type MessageHandlerInterceptorModifier and TypeFieldDescriptionprotected final List<BiFunction<Configuration, String, MessageHandlerInterceptor<? super EventMessage<?>>>> EventProcessingModule.defaultHandlerInterceptorsprotected final Map<String, List<Function<Configuration, MessageHandlerInterceptor<? super EventMessage<?>>>>> EventProcessingModule.handlerInterceptorsBuildersMethods in org.axonframework.config that return types with arguments of type MessageHandlerInterceptorModifier and TypeMethodDescriptionList<MessageHandlerInterceptor<? super EventMessage<?>>> EventProcessingConfiguration.interceptorsFor(String processorName) List<MessageHandlerInterceptor<? super EventMessage<?>>> EventProcessingModule.interceptorsFor(String processorName) Method parameters in org.axonframework.config with type arguments of type MessageHandlerInterceptorModifier and TypeMethodDescriptionEventProcessingConfigurer.registerDefaultHandlerInterceptor(BiFunction<Configuration, String, MessageHandlerInterceptor<? super EventMessage<?>>> interceptorBuilder) Register the giveninterceptorBuilderas a default to build aMessageHandlerInterceptorforEventProcessors created in this configuration.EventProcessingModule.registerDefaultHandlerInterceptor(BiFunction<Configuration, String, MessageHandlerInterceptor<? super EventMessage<?>>> interceptorBuilder) EventProcessingConfigurer.registerHandlerInterceptor(String processorName, Function<Configuration, MessageHandlerInterceptor<? super EventMessage<?>>> interceptorBuilder) Register the giveninterceptorBuilderto build aMessageHandlerInterceptorfor theEventProcessorwith givenprocessorName.EventProcessingModule.registerHandlerInterceptor(String processorName, Function<Configuration, MessageHandlerInterceptor<? super EventMessage<?>>> interceptorBuilder) -
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) -
Uses of MessageHandlerInterceptor in org.axonframework.disruptor.commandhandling
Methods in org.axonframework.disruptor.commandhandling with parameters of type MessageHandlerInterceptorModifier and TypeMethodDescriptionDisruptorCommandBus.registerHandlerInterceptor(MessageHandlerInterceptor<? super CommandMessage<?>> handlerInterceptor) Method parameters in org.axonframework.disruptor.commandhandling with type arguments of type MessageHandlerInterceptorModifier and TypeMethodDescriptionDisruptorCommandBus.Builder.invokerInterceptors(List<MessageHandlerInterceptor<? super CommandMessage<?>>> invokerInterceptors) Set theMessageHandlerInterceptorof generic typeCommandMessageto use with theDisruptorCommandBusduring in the invocation thread.DisruptorCommandBus.Builder.publisherInterceptors(List<MessageHandlerInterceptor<CommandMessage<?>>> publisherInterceptors) Configures theMessageHandlerInterceptorof generic typeCommandMessageto use with theDisruptorCommandBusduring the publication of changes.voidCommandHandlingEntry.reset(CommandMessage<?> newCommand, MessageHandler<? super CommandMessage<?>> newCommandHandler, int newInvokerSegmentId, int newPublisherSegmentId, BlacklistDetectingCallback<?, ?> newCallback, List<MessageHandlerInterceptor<? super CommandMessage<?>>> invokerInterceptors, List<MessageHandlerInterceptor<? super CommandMessage<?>>> publisherInterceptors) Resets this entry, preparing it for use for another command. -
Uses of MessageHandlerInterceptor in org.axonframework.eventhandling
Methods in org.axonframework.eventhandling that return types with arguments of type MessageHandlerInterceptorModifier and TypeMethodDescriptionList<MessageHandlerInterceptor<? super EventMessage<?>>> AbstractEventProcessor.getHandlerInterceptors()List<MessageHandlerInterceptor<? super EventMessage<?>>> EventProcessor.getHandlerInterceptors()Return the list of already registeredMessageHandlerInterceptors for this event processor.Methods in org.axonframework.eventhandling with parameters of type MessageHandlerInterceptorModifier and TypeMethodDescriptionAbstractEventProcessor.registerHandlerInterceptor(MessageHandlerInterceptor<? super EventMessage<?>> interceptor) -
Uses of MessageHandlerInterceptor in org.axonframework.eventhandling.deadletter
Methods in org.axonframework.eventhandling.deadletter with parameters of type MessageHandlerInterceptorModifier and TypeMethodDescriptionDeadLetteringEventHandlerInvoker.registerHandlerInterceptor(MessageHandlerInterceptor<? super EventMessage<?>> interceptor) -
Uses of MessageHandlerInterceptor in org.axonframework.messaging
Methods in org.axonframework.messaging with parameters of type MessageHandlerInterceptorModifier and TypeMethodDescriptionMessageHandlerInterceptorSupport.registerHandlerInterceptor(MessageHandlerInterceptor<? super T> handlerInterceptor) Register the givenhandlerInterceptor.Constructor parameters in org.axonframework.messaging with type arguments of type MessageHandlerInterceptorModifierConstructorDescriptionDefaultInterceptorChain(UnitOfWork<? extends T> unitOfWork, Iterable<? extends MessageHandlerInterceptor<? super T>> interceptors, MessageHandler<? super T> handler) Initialize the default interceptor chain to dispatch the givenmessage, through thechain, to thehandler. -
Uses of MessageHandlerInterceptor in org.axonframework.messaging.interceptors
Classes in org.axonframework.messaging.interceptors that implement MessageHandlerInterceptorModifier and TypeClassDescriptionclassBeanValidationInterceptor<T extends Message<?>>Interceptor that applies JSR303 bean validation on incomingMessages.classCorrelationDataInterceptor<T extends Message<?>>Message interceptor that registersCorrelationDataProviderswith the Unit of Work.classLoggingInterceptor<T extends Message<?>>MessageDispatchInterceptorandMessageHandlerInterceptorimplementation that logs dispatched and incoming messages, and their result, to a SLF4J logger.classTransactionManagingInterceptor<T extends Message<?>>Interceptor that uses aTransactionManagerto start a new transaction before a Message is handled. -
Uses of MessageHandlerInterceptor in org.axonframework.messaging.interceptors.legacyvalidation
Classes in org.axonframework.messaging.interceptors.legacyvalidation that implement MessageHandlerInterceptorModifier and TypeClassDescriptionclassBeanValidationInterceptor<T extends Message<?>>Deprecated. -
Uses of MessageHandlerInterceptor in org.axonframework.messaging.timeout
Classes in org.axonframework.messaging.timeout that implement MessageHandlerInterceptorModifier and TypeClassDescriptionclassMessage handler interceptor that sets a timeout on the processing of the currentUnitOfWork. -
Uses of MessageHandlerInterceptor in org.axonframework.modelling.command.inspection
Classes in org.axonframework.modelling.command.inspection that implement MessageHandlerInterceptorModifier and TypeClassDescriptionclassAnnotated command handler interceptor on aggregate. -
Uses of MessageHandlerInterceptor in org.axonframework.queryhandling
Methods in org.axonframework.queryhandling with parameters of type MessageHandlerInterceptorModifier and TypeMethodDescriptionSimpleQueryBus.registerHandlerInterceptor(MessageHandlerInterceptor<? super QueryMessage<?, ?>> interceptor) Registers an interceptor that is used to intercept Queries before they are passed to their respective handlers. -
Uses of MessageHandlerInterceptor in org.axonframework.spring.authorization
Classes in org.axonframework.spring.authorization that implement MessageHandlerInterceptorModifier and TypeClassDescriptionclassMessageAuthorizationHandlerInterceptor<T extends Message<?>>AMessageHandlerInterceptorthat verifies authorization based onSecuredannotations on the payload ofMessages. -
Uses of MessageHandlerInterceptor in org.axonframework.springboot.autoconfig
Method parameters in org.axonframework.springboot.autoconfig with type arguments of type MessageHandlerInterceptorModifier and TypeMethodDescriptionorg.springframework.beans.factory.InitializingBeanInterceptorAutoConfiguration.commandHandlerInterceptorConfigurer(CommandBus commandBus, Optional<List<MessageHandlerInterceptor<? super CommandMessage<?>>>> interceptors) org.springframework.beans.factory.InitializingBeanInterceptorAutoConfiguration.messageHandlerInterceptorConfigurer(EventProcessingConfigurer eventProcessingConfigurer, Optional<List<MessageHandlerInterceptor<? super EventMessage<?>>>> interceptors) org.springframework.beans.factory.InitializingBeanInterceptorAutoConfiguration.queryHandlerInterceptorConfigurer(QueryBus queryBus, Optional<List<MessageHandlerInterceptor<? super QueryMessage<?, ?>>>> interceptors) -
Uses of MessageHandlerInterceptor in org.axonframework.test.aggregate
Methods in org.axonframework.test.aggregate with parameters of type MessageHandlerInterceptorModifier and TypeMethodDescriptionAggregateTestFixture.registerCommandHandlerInterceptor(MessageHandlerInterceptor<? super CommandMessage<?>> commandHandlerInterceptor) FixtureConfiguration.registerCommandHandlerInterceptor(MessageHandlerInterceptor<? super CommandMessage<?>> commandHandlerInterceptor) Register aMessageHandlerInterceptorforCommandMessages which will be invoked before or after the command has been dispatched on theCommandBusto perform a task specified in the interceptor.AggregateTestFixture.registerDeadlineHandlerInterceptor(MessageHandlerInterceptor<? super DeadlineMessage<?>> deadlineHandlerInterceptor) FixtureConfiguration.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. -
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) -
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) default FixtureConfigurationFixtureConfiguration.registerEventHandlerInterceptor(MessageHandlerInterceptor<? super EventMessage<?>> eventHandlerInterceptor) Registers aMessageHandlerInterceptorforEventMessages.SagaTestFixture.registerEventHandlerInterceptor(MessageHandlerInterceptor<? super EventMessage<?>> eventHandlerInterceptor) -
Uses of MessageHandlerInterceptor in org.axonframework.test.utils
Methods in org.axonframework.test.utils with parameters of type MessageHandlerInterceptorModifier and TypeMethodDescriptionRecordingCommandBus.registerHandlerInterceptor(MessageHandlerInterceptor<? super CommandMessage<?>> handlerInterceptor)
BeanValidationInterceptorwhich moved to jakarta.