Class MessageProperties
public class MessageProperties
- Inheritance
-
MessageProperties
- Inherited Members
Properties
- CloudEventExtensions
CloudEvents extension attributes (included in envelope).
- ContentType
Content type of the data payload.
- DataSchema
URI identifying the schema that the event data adheres to. Maps to CloudEvents "dataschema" attribute (optional).
- Headers
Custom headers to include with the message.
- Id
Unique identifier for this event. Auto-generated if not set. Maps to CloudEvents "id" field.
- Source
URI identifying the event source, e.g. "/orders-service". Maps to CloudEvents "source" field.
- Subject
Subject of the event, e.g. order ID. Maps to CloudEvents "subject" field.
- Time
Event timestamp. Auto-set to current time if not specified.
- TraceParent
W3C Traceparent header - Contains a version, trace ID, span ID, and trace options https://w3c.github.io/trace-context/#traceparent-header
- TraceState
W3C Tracestate header - a comma-delimited list of key-value pairs https://w3c.github.io/trace-context/#tracestate-header
- TransportMetadata
Transport-specific metadata (e.g., RabbitMQ exchange/routing key). Not included in CloudEvents envelope.
- Transports
The transports this message should be sent over.
- Type
The type of the message, e.g. "com.example.order-shipped". Maps to CloudEvents "type" field.