Table of Contents

Class GooglePubSubMappingContext

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

Google Pub/Sub mapping context implementation.

public sealed class GooglePubSubMappingContext : IGooglePubSubMappingContext
Inheritance
GooglePubSubMappingContext
Implements
Inherited Members
Extension Methods

Properties

Attributes

Gets all configured attributes.

public IReadOnlyDictionary<string, string> Attributes { get; }

Property Value

IReadOnlyDictionary<string, string>

OrderingKey

Gets or sets the ordering key for ordered delivery.

public string? OrderingKey { get; set; }

Property Value

string

TopicName

Gets or sets the topic name.

public string? TopicName { 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.

SetAttribute(string, string)

Sets a custom attribute on the message.

public void SetAttribute(string key, string value)

Parameters

key string

The attribute key.

value string

The attribute value.