| Package | Description |
|---|---|
| org.axonframework.config | |
| org.axonframework.eventhandling |
Classes related to event handling and dispatching, such as
Event Listeners and the Event Bus. |
| org.axonframework.eventhandling.saga |
| Modifier and Type | Method and Description |
|---|---|
SagaConfiguration<S> |
SagaConfiguration.configureListenerInvocationErrorHandler(Function<Configuration,ListenerInvocationErrorHandler> listenerInvocationErrorHandler)
Configures the ListenerInvocationErrorHandler to use when processing of event in saga fails.
|
EventHandlingConfiguration |
EventHandlingConfiguration.configureListenerInvocationErrorHandler(Function<Configuration,ListenerInvocationErrorHandler> listenerInvocationErrorHandlerBuilder)
Configures the default
ListenerInvocationErrorHandler for handlers
in any processing group for which none is explicitly provided. |
EventHandlingConfiguration |
EventHandlingConfiguration.configureListenerInvocationErrorHandler(String processingGroup,
Function<Configuration,ListenerInvocationErrorHandler> listenerInvocationErrorHandlerBuilder)
Configures a
ListenerInvocationErrorHandler for handlers assigned to the
given processingGroup. |
| Modifier and Type | Class and Description |
|---|---|
class |
LoggingErrorHandler
Implementation of a
ListenerInvocationErrorHandler that logs exceptions as errors but otherwise does nothing to
prevent event handling from continuing. |
class |
PropagatingErrorHandler
Singleton ErrorHandler implementation that does not do anything.
|
| Modifier and Type | Method and Description |
|---|---|
ListenerInvocationErrorHandler |
SimpleEventHandlerInvoker.getListenerInvocationErrorHandler() |
| Constructor and Description |
|---|
SimpleEventHandlerInvoker(List<?> eventListeners,
ListenerInvocationErrorHandler listenerInvocationErrorHandler)
Initializes a
SimpleEventHandlerInvoker containing the given list of eventListeners. |
SimpleEventHandlerInvoker(List<?> eventListeners,
ListenerInvocationErrorHandler listenerInvocationErrorHandler,
SequencingPolicy<? super EventMessage<?>> sequencingPolicy)
Initialize the EventHandlerInvoker to invoke the given
eventListeners, using the given
listenerInvocationErrorHandler when an error occurs invoking these handlers and the given
sequencingPolicy to describe the expected sequencing of event messages |
SimpleEventHandlerInvoker(List<?> eventListeners,
ParameterResolverFactory parameterResolverFactory,
ListenerInvocationErrorHandler listenerInvocationErrorHandler)
Initializes a
SimpleEventHandlerInvoker containing the given list of eventListeners. |
SimpleEventHandlerInvoker(List<?> eventListeners,
ParameterResolverFactory parameterResolverFactory,
ListenerInvocationErrorHandler listenerInvocationErrorHandler,
SequencingPolicy<? super EventMessage<?>> sequencingPolicy)
Initializes a
SimpleEventHandlerInvoker containing the given list of eventListeners. |
| Constructor and Description |
|---|
AbstractSagaManager(Class<T> sagaType,
SagaRepository<T> sagaRepository,
Supplier<T> sagaFactory,
ListenerInvocationErrorHandler listenerInvocationErrorHandler)
Initializes the SagaManager with the given
sagaRepository. |
AnnotatedSagaManager(Class<T> sagaType,
SagaRepository<T> sagaRepository,
ParameterResolverFactory parameterResolverFactory,
HandlerDefinition handlerDefinition,
ListenerInvocationErrorHandler listenerInvocationErrorHandler)
Initialize the AnnotatedSagaManager using given
repository to load sagas. |
AnnotatedSagaManager(Class<T> sagaType,
SagaRepository<T> sagaRepository,
ParameterResolverFactory parameterResolverFactory,
ListenerInvocationErrorHandler listenerInvocationErrorHandler)
Initialize the AnnotatedSagaManager using given
repository to load sagas. |
AnnotatedSagaManager(Class<T> sagaType,
SagaRepository<T> sagaRepository,
Supplier<T> sagaFactory,
SagaModel<T> sagaMetaModel,
ListenerInvocationErrorHandler listenerInvocationErrorHandler)
Initialize the AnnotatedSagaManager using given
repository to load sagas, the sagaFactory to
create new sagas and the sagaMetaModel to delegate messages to the saga instances. |
Copyright © 2010–2018. All rights reserved.