Understanding commands
Commands are messages that represent intent, commands can be rejected in distributed systems.
In EventCatalog Services may invoke (send) or accept (receive) commands in your architecture.
Example of a command​
An example of a command would be PlaceOrder message over HTTP.
- This message is used to place an order in a system
- Commands can be rejected, the
PlaceOrdermay be rejected by the service that processes it.
Commands in EventCatalog​
- Commands in EventCatalog can be accepted by services or invoked by services.
- Commands in EventCatalog are blue (following EventStorming conventions)
- Commands live in the
/commandsfolder.