Define the structure of an event header. More...
|The event type. More...|
|Some way to identify the supplier. More...|
|The "Time To Live" counter. More...|
The following timestamps are used to benchmark the Event Channel, they should not be used by the application and may be removed without notice.
Define the structure of an event header.
The event header is the portion of the event examined by the event service for filtering purposes.
Events can be filtered based on their type and SourceID, though the latest is a misnomer, over time it has evolved into a 'source class' or 'event domain' field, i.e. multiple sources can have the same 'ID' and the same source can generate events with different IDs.
Applications can use this field to time-stamp the event at the source.
Some way to identify the supplier.
The "Time To Live" counter.
Each time an EC process the event it decreases the TTL field, when it gets to zero the message is no longer forwarded.
The event type.
Notice that the 'type' of the event may or may not be related to the data type in its contents. I.e. it is perfectly possible to send the same payload with different values in this field. In other words, this is just a filterable value, and it is up to the application to define (or not) its relation to the contents of the event.