Table of Contents

Interface IRabbitMqMappingContext

Namespace
Excalibur.Dispatch.Transport
Assembly
Excalibur.Dispatch.Abstractions.dll

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

string

Expiration

Gets or sets the message expiration in milliseconds.

string? Expiration { get; set; }

Property Value

string

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

string

RoutingKey

Gets or sets the routing key.

string? RoutingKey { get; set; }

Property Value

string

Methods

SetHeader(string, string)

Sets a custom header on the message.

void SetHeader(string key, string value)

Parameters

key string

The header key.

value string

The header value.