, . , , nServiceBus MSMQ.
Basically, every step happens by sending a message to the queue. When nServiceBus finds messages waiting to be queued, it calls your Handle method appropriate for this type of message. Thus, each individual step is independent of failure and can be repeated. If one step fails, the message ends in the error queue, so you can easily repeat it later.
The proposed proposed clean codes are not so reliable, because if there is a failure in a step, you will not be able to repeat only one step in the future, and you will have to implement a rollback code, which is not even possible in some cases.
source
share