开发者

Nservicebus Saga

开发者 https://www.devze.com 2023-01-21 18:54 出处:网络
I am starting a nsb saga using IAmStartedByMessages. On the handle of this particualr message i am doing some kind of business logic if some cases fail i don\'t want the Saga to be persisted. How can

I am starting a nsb saga using IAmStartedByMessages. On the handle of this particualr message i am doing some kind of business logic if some cases fail i don't want the Saga to be persisted. How can i achieve this?

Thank开发者_JAVA百科s, Ajai


If you call MarkAsComplete() in the handling method of the first message, then the saga won't be persisted.

0

精彩评论

暂无评论...
验证码 换一张
取 消