Skip to content

SagaHistory document ends up with "Endpoint": null #209

@johnsimons

Description

@johnsimons

Here is the document:

{
  "SagaId": "a97e89ca-5310-4195-a9ff-a2c20100dcc7",
  "SagaType": "MyServer.Saga.SimpleSaga",
  "Changes": [
    {
      "StartTime": "2014-01-29T04:35:12.4134001Z",
      "FinishTime": "2014-01-29T04:35:12.4684406Z",
      "Status": "New",
      "StateAfterChange": "[{\"$type\":\"MyServer.Saga.SimpleSagaData, MyServer\",\"Id\":\"a97e89ca-5310-4195-a9ff-a2c20100dcc7\",\"Originator\":\"MyServer@JOHNPC2\",\"OriginalMessageId\":\"ee488fec-bba6-4657-952c-a2c20100dca2\",\"OrderId\":\"069b1602-1e6b-4326-88f0-4c2db8b8de8b\"}]",
      "InitiatingMessage": {
        "MessageId": "ee488fec-bba6-4657-952c-a2c20100dca2",
        "IsSagaTimeoutMessage": false,
        "OriginatingEndpoint": "MyServer",
        "OriginatingMachine": "JOHNPC2",
        "TimeSent": "2014-01-29T04:35:12.3233360Z",
        "MessageType": "MyServer.Saga.StartSagaMessage"
      },
      "OutgoingMessages": [
        {
          "DeliveryDelay": "00:00:10",
          "Destination": "MyServer@JOHNPC2",
          "DeliverAt": null,
          "MessageId": "5df105ea-6732-4252-871a-a2c20100dcc9",
          "TimeSent": "2014-01-29T04:35:12.4524280Z",
          "MessageType": "MyServer.Saga.MyTimeOutState"
        }
      ],
      "Endpoint": null
    },
    {
      "StartTime": "2014-01-29T04:35:22.9626598Z",
      "FinishTime": "2014-01-29T04:35:22.9706654Z",
      "Status": "Completed",
      "StateAfterChange": "[{\"$type\":\"MyServer.Saga.SimpleSagaData, MyServer\",\"Id\":\"a97e89ca-5310-4195-a9ff-a2c20100dcc7\",\"Originator\":\"MyServer@JOHNPC2\",\"OriginalMessageId\":\"ee488fec-bba6-4657-952c-a2c20100dca2\",\"OrderId\":\"069b1602-1e6b-4326-88f0-4c2db8b8de8b\"}]",
      "InitiatingMessage": {
        "MessageId": "5df105ea-6732-4252-871a-a2c20100dcc9",
        "IsSagaTimeoutMessage": true,
        "OriginatingEndpoint": "MyServer",
        "OriginatingMachine": "JOHNPC2",
        "TimeSent": "2014-01-29T04:35:12.4524280Z",
        "MessageType": "MyServer.Saga.MyTimeOutState"
      },
      "OutgoingMessages": [],
      "Endpoint": null
    }
  ]
}

As you can see from above, the field "Endpoint": null, not sure what it should be either!

//cc @andreasohlund any idea what that field should have?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions