| 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.messaging |
Classes related to message processing in Axon Framework.
|
| org.axonframework.queryhandling | |
| org.axonframework.queryhandling.annotation |
| Modifier and Type | Class and Description |
|---|---|
class |
AggregateAnnotationCommandHandler<T>
Command handler that handles commands based on
CommandHandler
annotations on an aggregate. |
class |
AnnotationCommandHandlerAdapter
Adapter that turns any
@CommandHandler annotated bean into a MessageHandler implementation. |
| Modifier and Type | Method and Description |
|---|---|
protected <C,R> void |
SimpleCommandBus.handle(CommandMessage<C> command,
MessageHandler<? super CommandMessage<?>> handler,
CommandCallback<? super C,? super R> callback)
Performs the actual handling logic.
|
protected <C,R> void |
AsynchronousCommandBus.handle(CommandMessage<C> command,
MessageHandler<? super CommandMessage<?>> handler,
CommandCallback<? super C,? super R> callback) |
Registration |
SimpleCommandBus.subscribe(String commandName,
MessageHandler<? super CommandMessage<?>> handler)
Subscribe the given
handler to commands with given commandName. |
Registration |
CommandBus.subscribe(String commandName,
MessageHandler<? super CommandMessage<?>> handler)
Subscribe the given
handler to commands with the given commandName. |
| Modifier and Type | Method and Description |
|---|---|
void |
CommandHandlingEntry.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.
|
Registration |
DisruptorCommandBus.subscribe(String commandName,
MessageHandler<? super CommandMessage<?>> handler) |
| Modifier and Type | Method and Description |
|---|---|
Registration |
DistributedCommandBus.subscribe(String commandName,
MessageHandler<? super CommandMessage<?>> handler)
Subscribe the given
handler to commands with the given commandName. |
Registration |
CommandBusConnector.subscribe(String commandName,
MessageHandler<? super CommandMessage<?>> handler)
Subscribes a command message handler for commands with given
commandName. |
| Constructor and Description |
|---|
DefaultInterceptorChain(UnitOfWork<? extends T> unitOfWork,
Iterable<? extends MessageHandlerInterceptor<? super T>> interceptors,
MessageHandler<? super T> handler)
Initialize the default interceptor chain to dispatch the given
message, through the
chain, to the handler. |
| Modifier and Type | Method and Description |
|---|---|
void |
QueryInvocationErrorHandler.onError(Throwable error,
QueryMessage<?,?> queryMessage,
MessageHandler messageHandler)
Invoked when an error occurred while invoking a message handler in a scatter-gather query.
|
void |
LoggingQueryInvocationErrorHandler.onError(Throwable error,
QueryMessage<?,?> queryMessage,
MessageHandler messageHandler) |
<R> Registration |
SimpleQueryBus.subscribe(String queryName,
Type responseType,
MessageHandler<? super QueryMessage<?,R>> handler) |
<R> Registration |
QueryBus.subscribe(String queryName,
Type responseType,
MessageHandler<? super QueryMessage<?,R>> handler)
Subscribe the given
handler to queries with the given queryName and responseType. |
| Modifier and Type | Class and Description |
|---|---|
class |
AnnotationQueryHandlerAdapter<T>
Adapter that turns any
@QueryHandler annotated bean into a MessageHandler implementation. |
Copyright © 2010–2018. All rights reserved.