Package | Description |
---|---|
org.axonframework.eventhandling.async |
Modifier and Type | Method and Description |
---|---|
protected RetryPolicy |
EventProcessor.doHandle(EventMessage<?> event)
Does the actual processing of the event.
|
RetryPolicy |
ErrorHandler.handleError(Throwable exception,
EventMessage<?> eventMessage,
EventListener eventListener)
Invoked when a handler or the unit of work throws an exception.
|
RetryPolicy |
DefaultErrorHandler.handleError(Throwable exception,
EventMessage<?> eventMessage,
EventListener eventListener) |
static RetryPolicy |
RetryPolicy.proceed()
Tells the scheduler to ignore the failure continue processing.
|
static RetryPolicy |
RetryPolicy.retryAfter(int timeout,
TimeUnit unit)
This policy will roll back the Unit of Work (and the transaction), if any) and reschedule the event for
processing.
|
static RetryPolicy |
RetryPolicy.skip()
This policy will roll back the Unit of Work (and the transaction) and skip the event altogether.
|
Constructor and Description |
---|
DefaultErrorHandler(RetryPolicy retryPolicy)
Initializes the ErrorHandler, making it return the given
retryPolicy when an error occurs. |
Copyright © 2010-2013. All Rights Reserved.