AxonFramework/AxonFramework — Issue #13: Respect ordering of ApplicationEvent and DomainEvents registration with a UnitOfWork
Author: abuijze
Created: 2011-12-03 14:43:38+00:00
State: open
Labels: Awaits Documentation

If a command handler invokes an Aggregate and registers an (Applicatin)Event for publication withing the context of the UnitOfWork, the application events are always published first.

Instead, events should be published in the order they are registered or applied on the aggregate.