Struct MessageRouting
Focused value type grouping the routing and addressing metadata for a message.
public readonly record struct MessageRouting : IEquatable<MessageRouting>
- Implements
- Inherited Members
- Extension Methods
Remarks
Composed onto MessageMetadata. Carries destination, reply, session, partition, routing-key and grouping fields. Holds at most ten properties to satisfy the Microsoft-first focused-value-type design guideline.
Properties
Destination
Gets the destination for the message.
public string? Destination { get; init; }
Property Value
GroupId
Gets the group identifier for message grouping.
public string? GroupId { get; init; }
Property Value
GroupSequence
Gets the sequence number within the message group.
public long? GroupSequence { get; init; }
Property Value
PartitionKey
Gets the partition key for message distribution.
public string? PartitionKey { get; init; }
Property Value
ReplyTo
Gets the reply-to address for the message.
public string? ReplyTo { get; init; }
Property Value
RoutingKey
Gets the routing key for message routing decisions.
public string? RoutingKey { get; init; }
Property Value
SessionId
Gets the session identifier for the message.
public string? SessionId { get; init; }