Class GooglePubSubMappingContext
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
OrderingKey
Gets or sets the ordering key for ordered delivery.
public string? OrderingKey { get; set; }
Property Value
TopicName
Gets or sets the topic name.
public string? TopicName { get; set; }
Property Value
Methods
ApplyTo(TransportMessageContext)
Applies this configuration to a transport message context.
public void ApplyTo(TransportMessageContext context)
Parameters
contextTransportMessageContextThe context to apply configuration to.
SetAttribute(string, string)
Sets a custom attribute on the message.
public void SetAttribute(string key, string value)