I am new to axon framework and need more understanding on how conflict resolver works. I have two events one that is unseen and second that is uncommitted. How these two events will be merged in the resolve conflicts method or how can i make the uncommitted event to wait for unseen event to be committed?
As per the api
" Detecting these conflicts is a matter of comparing the two lists of DomainEvents provided in the resolveConflicts method declared on the ConflictResolver. If such a conflict is found, a ConflictingModificationException (or better, a more explicit and explanatory subclass of it) must be thrown. If the ConflictResolver returns normally, the events are persisted, effectively meaning that the concurrent changes have been merged."
What exactly we mean by comparing the two list of events?
Do we need to check the version of the two events ?
Any pointers are welcome:)
Thanks & Regards,