Package | Description |
---|---|
org.axonframework.commandhandling |
Classes that implement the concept of command handling using explicit command objects.
|
org.axonframework.commandhandling.disruptor | |
org.axonframework.commandhandling.distributed | |
org.axonframework.commandhandling.gateway | |
org.axonframework.eventhandling |
Classes related to event handling and dispatching, such as
Event Listeners and the Event Bus . |
org.axonframework.eventhandling.interceptors | |
org.axonframework.messaging |
Classes related to message processing in Axon Framework.
|
org.axonframework.messaging.interceptors | |
org.axonframework.queryhandling | |
org.axonframework.spring.commandhandling.gateway | |
org.axonframework.test.aggregate | |
org.axonframework.test.utils |
A collection of classes which may prove useful when testing Axon-based classes.
|
Modifier and Type | Method and Description |
---|---|
Registration |
SimpleCommandBus.registerDispatchInterceptor(MessageDispatchInterceptor<? super CommandMessage<?>> dispatchInterceptor)
Registers the given list of dispatch interceptors to the command bus.
|
Modifier and Type | Method and Description |
---|---|
List<MessageDispatchInterceptor<? super CommandMessage<?>>> |
DisruptorConfiguration.getDispatchInterceptors()
Returns the dispatch interceptors for the DisruptorCommandBus.
|
Modifier and Type | Method and Description |
---|---|
Registration |
DisruptorCommandBus.registerDispatchInterceptor(MessageDispatchInterceptor<? super CommandMessage<?>> dispatchInterceptor) |
Modifier and Type | Method and Description |
---|---|
DisruptorConfiguration |
DisruptorConfiguration.setDispatchInterceptors(List<MessageDispatchInterceptor<CommandMessage<?>>> dispatchInterceptors)
Configures the CommandDispatchInterceptor to use with the DisruptorCommandBus when commands are dispatched.
|
Modifier and Type | Method and Description |
---|---|
Registration |
DistributedCommandBus.registerDispatchInterceptor(MessageDispatchInterceptor<? super CommandMessage<?>> dispatchInterceptor)
Registers the given list of dispatch interceptors to the command bus.
|
Modifier and Type | Method and Description |
---|---|
CommandGatewayFactory |
CommandGatewayFactory.registerDispatchInterceptor(MessageDispatchInterceptor<CommandMessage<?>> dispatchInterceptor)
Registers the given
dispatchInterceptor which is invoked for each Command dispatched through the
Command Gateways created by this factory. |
Constructor and Description |
---|
CommandGatewayFactory(CommandBus commandBus,
MessageDispatchInterceptor<CommandMessage<?>>... dispatchInterceptors)
Initialize the factory sending Commands to the given
commandBus , optionally intercepting them with
given dispatchInterceptors . |
CommandGatewayFactory(CommandBus commandBus,
RetryScheduler retryScheduler,
MessageDispatchInterceptor<CommandMessage<?>>... messageDispatchInterceptors)
Initialize the factory sending Commands to the given
commandBus , optionally intercepting them with
given dispatchInterceptors . |
DefaultCommandGateway(CommandBus commandBus,
MessageDispatchInterceptor<? super CommandMessage<?>>... messageDispatchInterceptors)
Initializes a command gateway that dispatches commands to the given
commandBus after they have been
handles by the given commandDispatchInterceptors . |
DefaultCommandGateway(CommandBus commandBus,
RetryScheduler retryScheduler,
MessageDispatchInterceptor<? super CommandMessage<?>>... messageDispatchInterceptors)
Initializes a command gateway that dispatches commands to the given
commandBus after they have been
handles by the given commandDispatchInterceptors . |
Constructor and Description |
---|
AbstractCommandGateway(CommandBus commandBus,
RetryScheduler retryScheduler,
List<MessageDispatchInterceptor<? super CommandMessage<?>>> messageDispatchInterceptors)
Initialize the AbstractCommandGateway with given
commandBus , retryScheduler and
commandDispatchInterceptors . |
CommandGatewayFactory(CommandBus commandBus,
RetryScheduler retryScheduler,
List<MessageDispatchInterceptor<CommandMessage<?>>> messageDispatchInterceptors)
Initialize the factory sending Commands to the given
commandBus , optionally intercepting them with
given dispatchInterceptors . |
DefaultCommandGateway(CommandBus commandBus,
RetryScheduler retryScheduler,
List<MessageDispatchInterceptor<? super CommandMessage<?>>> messageDispatchInterceptors)
Initializes a command gateway that dispatches commands to the given
commandBus after they have been
handles by the given commandDispatchInterceptors . |
Modifier and Type | Method and Description |
---|---|
Registration |
EventBus.registerDispatchInterceptor(MessageDispatchInterceptor<? super EventMessage<?>> dispatchInterceptor)
Register the given
interceptor with this bus. |
Registration |
AbstractEventBus.registerDispatchInterceptor(MessageDispatchInterceptor<? super EventMessage<?>> dispatchInterceptor)
Register the given
interceptor with this bus. |
Modifier and Type | Class and Description |
---|---|
class |
EventLoggingInterceptor
Message Dispatch Interceptor that logs published events to a SLF4J logger.
|
Modifier and Type | Method and Description |
---|---|
Registration |
MessageDispatchInterceptorSupport.registerDispatchInterceptor(MessageDispatchInterceptor<? super T> dispatchInterceptor)
Register the given DispatchInterceptor.
|
Modifier and Type | Class and Description |
---|---|
class |
BeanValidationInterceptor<T extends Message<?>>
Interceptor that applies JSR303 bean validation on incoming messages.
|
Modifier and Type | Method and Description |
---|---|
Registration |
SimpleQueryBus.registerDispatchInterceptor(MessageDispatchInterceptor<? super QueryMessage<?,?>> interceptor)
Registers an interceptor that intercepts Queries as they are sent.
|
Constructor and Description |
---|
DefaultQueryGateway(QueryBus queryBus,
MessageDispatchInterceptor<? super QueryMessage<?,?>>... dispatchInterceptors)
Initializes the gateway to send queries to the given
queryBus and invoking given
dispatchInterceptors prior to publication ont he query bus. |
Modifier and Type | Method and Description |
---|---|
void |
CommandGatewayFactoryBean.addCommandDispatchInterceptor(MessageDispatchInterceptor<CommandMessage<?>> messageDispatchInterceptor)
Add an interceptor that should be invoked before a command is dispatched the the Command Bus.
|
Modifier and Type | Method and Description |
---|---|
void |
CommandGatewayFactoryBean.setCommandDispatchInterceptors(List<MessageDispatchInterceptor<CommandMessage<?>>> messageDispatchInterceptors)
Sets the interceptors that should be invoked before a command is dispatched the the Command Bus.
|
Modifier and Type | Method and Description |
---|---|
FixtureConfiguration<T> |
FixtureConfiguration.registerCommandDispatchInterceptor(MessageDispatchInterceptor<CommandMessage<?>> commandDispatchInterceptor)
Register a command dispatch interceptor which will always be invoked before a command is dispatched on the
command bus to perform a task specified in the interceptor.
|
FixtureConfiguration<T> |
AggregateTestFixture.registerCommandDispatchInterceptor(MessageDispatchInterceptor<CommandMessage<?>> commandDispatchInterceptor) |
Modifier and Type | Method and Description |
---|---|
Registration |
RecordingCommandBus.registerDispatchInterceptor(MessageDispatchInterceptor<? super CommandMessage<?>> dispatchInterceptor) |
Copyright © 2010–2018. All rights reserved.