Table of Contents

Class AzureServiceBusMappingContext

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

Azure Service Bus mapping context implementation.

public sealed class AzureServiceBusMappingContext : IAzureServiceBusMappingContext
Inheritance
AzureServiceBusMappingContext
Implements
Inherited Members
Extension Methods

Properties

PartitionKey

Gets or sets the partition key.

public string? PartitionKey { get; set; }

Property Value

string

Properties

Gets all configured properties.

public IReadOnlyDictionary<string, object> Properties { get; }

Property Value

IReadOnlyDictionary<string, object>

ReplyToSessionId

Gets or sets the reply-to session ID.

public string? ReplyToSessionId { get; set; }

Property Value

string

ScheduledEnqueueTime

Gets or sets the scheduled enqueue time.

public DateTimeOffset? ScheduledEnqueueTime { get; set; }

Property Value

DateTimeOffset?

SessionId

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

public string? SessionId { get; set; }

Property Value

string

TimeToLive

Gets or sets the time to live for the message.

public TimeSpan? TimeToLive { get; set; }

Property Value

TimeSpan?

TopicOrQueueName

Gets or sets the topic or queue name.

public string? TopicOrQueueName { get; set; }

Property Value

string

Methods

ApplyTo(TransportMessageContext)

Applies this configuration to a transport message context.

public void ApplyTo(TransportMessageContext context)

Parameters

context TransportMessageContext

The context to apply configuration to.

SetProperty(string, object)

Sets a custom property on the message.

public void SetProperty(string key, object value)

Parameters

key string

The property key.

value object

The property value.