watermill
watermill copied to clipboard
Atomicity in CQRS Facade
I've got a question. At the moment from the examples I can see, the events are published after some processing is done in a command handler. It may lead to a 2PC problem Is it possible to make handling commands and publishing events atomic via CQRS Facade?
PS: It know it can be done w/o the facade.