AxonFramework/AxonFramework — Issue #2: Add support for guaranteed event processing in asynchronous event handler
Author: abuijze
Created: 2011-12-03 13:56:31+00:00
State: open
Labels: Low priority

Currently, when the application crashes while events are handled
asynchronously, unprocessed events may get lost.
Therefore, asynchronous event handlers should have the ability to maintain a
journal that keeps track of all processing actions.
Upon startup, this journal can be used to reproduce the last known state of
the event handler.
Since journals can become quite large, they should be compacted once in a
while. When an event queue is empty, the journal may be cleared.

----

This feature has a high level of complexity, but doesn't provide much more than can be achieved using existing products.

It is probably easier to use a MQ product to manage asynchronous queues. They already come with delivery guarantees (at most, at least, exactly once). So instead of creating a custom queue implementation, a connector should be made available to make it easy to connect to MQ products.

---

Migrated from http://code.google.com/p/axonframework/issues/detail?id=49