Database Reference
In-Depth Information
The saga is aware of its originator. It knows to match the RequestId because of the
mapping, and the bus keeps an internal ID to keep all the sagas unique. All sagas must
have the Id , Originator , and OriginalMessageId fields that the bus will use to
keep track of the saga. Here, we also have the [Unique] attribute to ensure that
RequestId is kept unique so that the map is made to return the correct saga.
The EndpointConfig.cs file of the MySaga project contains the Init() method.
This function contains the initial configuration for the endpoint of the IBus. The endpoint
will default to the namespace of the project, for instance; in this case, MySaga will be the
endpoint as it is associated with the namespace.
Search WWH ::




Custom Search