Interface IRabbitMqMappingContext
RabbitMQ-specific mapping context for configuring message properties.
public interface IRabbitMqMappingContext
- Extension Methods
Properties
DeliveryMode
Gets or sets the delivery mode (1 = non-persistent, 2 = persistent).
byte? DeliveryMode { get; set; }
Property Value
- byte?
Exchange
Gets or sets the exchange name.
string? Exchange { get; set; }
Property Value
Expiration
Gets or sets the message expiration in milliseconds.
string? Expiration { get; set; }
Property Value
Priority
Gets or sets the message priority (0-255).
byte? Priority { get; set; }
Property Value
- byte?
ReplyTo
Gets or sets the reply-to queue name.
string? ReplyTo { get; set; }
Property Value
RoutingKey
Gets or sets the routing key.
string? RoutingKey { get; set; }
Property Value
Methods
SetHeader(string, string)
Sets a custom header on the message.
void SetHeader(string key, string value)