Documentation ¶
Index ¶
Constants ¶
View Source
const ( // MessageIDMetadataKey defines the metadata key for the message id. MessageIDMetadataKey = "MessageId" // read, write. // CorrelationIDMetadataKey defines the metadata key for the correlation id. CorrelationIDMetadataKey = "CorrelationId" // read, write. // SessionIDMetadataKey defines the metadata key for the session id. SessionIDMetadataKey = "SessionId" // read, write. // LabelMetadataKey defines the metadata key for the label. LabelMetadataKey = "Label" // read, write. // ReplyToMetadataKey defines the metadata key for the reply to value. ReplyToMetadataKey = "ReplyTo" // read, write. // ToMetadataKey defines the metadata key for the to value. ToMetadataKey = "To" // read, write. // PartitionKeyMetadataKey defines the metadata key for the partition key. PartitionKeyMetadataKey = "PartitionKey" // read, write. // ContentTypeMetadataKey defines the metadata key for the content type. ContentTypeMetadataKey = "ContentType" // read, write. // DeliveryCountMetadataKey defines the metadata key for the delivery count. DeliveryCountMetadataKey = "DeliveryCount" // read. // LockedUntilUtcMetadataKey defines the metadata key for the locked until utc value. LockedUntilUtcMetadataKey = "LockedUntilUtc" // read. // LockTokenMetadataKey defines the metadata key for the lock token. LockTokenMetadataKey = "LockToken" // read. // EnqueuedTimeUtcMetadataKey defines the metadata key for the enqueued time utc value. EnqueuedTimeUtcMetadataKey = "EnqueuedTimeUtc" // read. // SequenceNumberMetadataKey defines the metadata key for the sequence number. SequenceNumberMetadataKey = "SequenceNumber" // read. // ScheduledEnqueueTimeUtcMetadataKey defines the metadata key for the scheduled enqueue time utc value. ScheduledEnqueueTimeUtcMetadataKey = "ScheduledEnqueueTimeUtc" // read, write. // ReplyToSessionID defines the metadata key for the reply to session id. ReplyToSessionID = "ReplyToSessionId" // read, write. )
Variables ¶
This section is empty.
Functions ¶
func NewASBMessageFromPubsubRequest ¶ added in v1.5.0
func NewASBMessageFromPubsubRequest(req *pubsub.PublishRequest) (*azservicebus.Message, error)
NewASBMessageFromPubsubRequest builds a new Azure Service Bus message from a PublishRequest.
func NewAzureServiceBus ¶
NewAzureServiceBus returns a new Azure ServiceBus pub-sub implementation.
func NewPubsubMessageFromASBMessage ¶ added in v1.5.0
func NewPubsubMessageFromASBMessage(asbMsg *azservicebus.Message, topic string) (*pubsub.NewMessage, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.