rabbitmq

package
v1.16.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 12, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MetadataKeyMessageID     = "messageID"
	MetadataKeyCorrelationID = "correlationID"
	MetadataKeyContentType   = "contentType"
	MetadataKeyType          = "type"
	MetadataKeyPriority      = "priority"
	MetadataKeyTTL           = "ttl"
)

Variables

This section is empty.

Functions

func ApplyMetadataToPublishing

func ApplyMetadataToPublishing(metadata map[string]string, publishing *amqp.Publishing)

ApplyMetadataToPublishing applies common metadata fields to an AMQP publishing

func TryGetProperty

func TryGetProperty(props map[string]string, key string) (string, bool)

TryGetProperty finds a property value using case-insensitive matching

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL