TemplateLog Sequence Number from PostgreSQL WAL (indicates position in replication stream)
The actual domain message/event data
Unique identifier for this message (user-provided, used for idempotency)
Type discriminator for the message (e.g., 'PatientRegistered', 'OrderCreated')
Unique sequential position in the outbox table (auto-incremented)
Number of times delivery has been attempted (0 for first delivery)
Envelope containing a message along with Hermes-specific metadata.
This type is passed to your
publishcallback when Hermes delivers messages from the PostgreSQL replication stream.Message - The type of the domain message/event
Example
See
MessageEnvelope for the simplified envelope used when queueing messages