Publishing messages
Last updated
Last updated
A message can be published by calling the Publish()
method directly on the Saga instance:
OpenSleigh uses the to ensure messages are properly published and the Saga State is persisted.
An application can be also configured as "publish-only": it will only take care of dispatching new messages but won't be able to consume any. Useful when creating a Web API that offloads the actual execution to a separate worker service.