Table of Contents

Interface IAzureServiceBusMappingContext

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

Azure Service Bus-specific mapping context for configuring message properties.

public interface IAzureServiceBusMappingContext
Extension Methods

Properties

PartitionKey

Gets or sets the partition key.

string? PartitionKey { get; set; }

Property Value

string

ReplyToSessionId

Gets or sets the reply-to session ID.

string? ReplyToSessionId { get; set; }

Property Value

string

ScheduledEnqueueTime

Gets or sets the scheduled enqueue time.

DateTimeOffset? ScheduledEnqueueTime { get; set; }

Property Value

DateTimeOffset?

SessionId

Gets or sets the session ID for session-enabled entities.

string? SessionId { get; set; }

Property Value

string

TimeToLive

Gets or sets the time to live for the message.

TimeSpan? TimeToLive { get; set; }

Property Value

TimeSpan?

TopicOrQueueName

Gets or sets the topic or queue name.

string? TopicOrQueueName { get; set; }

Property Value

string

Methods

SetProperty(string, object)

Sets a custom property on the message.

void SetProperty(string key, object value)

Parameters

key string

The property key.

value object

The property value.