I'm using Axon 1.2 and would like to handle events for different Saga
instances asynchronously in parallel.
In the reference manual the asynchronous event handling is described
"When an executor is provided, the SagaManager will automatically use
it to find associated Saga instances and dispatch the events each of
these instances. The SagaManager will guarantee that for each Saga
instance, all events are processed in the order they arrive. For
optimization purposes, this guarantee does not count in between
My understanding is that events for different Saga instances should be
handled in parallel if I provide an executor. But in fact they are
handled sequentially one after the other.
In the code I see, that AbstractSagaManager creates an
AsynchronousSagaExecutor which sets a SequentialPolicy. Shouldn't
there be something like SequentialPerSagaPolicy set? But everything is
private and hard coded, so I see no way to override this behaviour.
Am I missing something?