i’ve a question regarding view model consistency for the case that a single command will apply multiple events. All the view model updates should be transactionally processed then and i wonder how to achieve this.
I read http://www.axonframework.org/docs/2.0/single.html#binding-uow-to-tx but i don’t understand how this can be used here because the transaction manager handles a global transaction as where the view model event handlers might receive events related to different aggregate instances, isn’t it? What i would expect is a concept of a transaction related to a specific aggregate instance but probably i’ve misunderstood something. Could someone explain please?