| 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 |
| 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 |
|---|---|
Registration |
DisruptorCommandBus.registerDispatchInterceptor(MessageDispatchInterceptor<? super CommandMessage<?>> dispatchInterceptor) |
| Modifier and Type | Method and Description |
|---|---|
DisruptorCommandBus.Builder |
DisruptorCommandBus.Builder.dispatchInterceptors(List<MessageDispatchInterceptor<CommandMessage<?>>> dispatchInterceptors)
Configures
MessageDispatchInterceptor of generic type CommandMessage 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 |
|---|---|
DefaultCommandGateway.Builder |
DefaultCommandGateway.Builder.dispatchInterceptors(MessageDispatchInterceptor<? super CommandMessage<?>>... dispatchInterceptors) |
AbstractCommandGateway.Builder |
AbstractCommandGateway.Builder.dispatchInterceptors(MessageDispatchInterceptor<? super CommandMessage<?>>... dispatchInterceptors)
|
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. |
| Modifier and Type | Method and Description |
|---|---|
DefaultCommandGateway.Builder |
DefaultCommandGateway.Builder.dispatchInterceptors(List<MessageDispatchInterceptor<? super CommandMessage<?>>> dispatchInterceptors) |
AbstractCommandGateway.Builder |
AbstractCommandGateway.Builder.dispatchInterceptors(List<MessageDispatchInterceptor<? super CommandMessage<?>>> dispatchInterceptors)
|
| 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. |
| Constructor and Description |
|---|
CommandGatewayFactory(CommandBus commandBus,
RetryScheduler retryScheduler,
List<MessageDispatchInterceptor<CommandMessage<?>>> messageDispatchInterceptors)
Initialize the factory sending Commands to the given
commandBus, optionally intercepting them with
given dispatchInterceptors. |
| 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. |
Copyright © 2010–2018. All rights reserved.