Skip to content

Instantly share code, notes, and snippets.

@onjin
Created March 26, 2018 10:15
Show Gist options
  • Save onjin/036fa5b5a4c07ffe29816e38cf77199e to your computer and use it in GitHub Desktop.
Save onjin/036fa5b5a4c07ffe29816e38cf77199e to your computer and use it in GitHub Desktop.
Every message has 3 ids, MessageId, CorrelationId, CausationId.
When you are responding to a message (either a command or an event)
you copy the CorrelationId of the message you are responding to to your message.
The CausationId of your message is the MessageId of the message you are responding to.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment