...

Package messaging

import "solace.dev/go/messaging"
Overview
Index
Subdirectories

Overview ▾

Package messaging contains the main entrypoint into the API via messaging.NewMessagingServiceBuilder(), which returns a builder implementation based on the Solace PubSub+ Messaging API for C.

func NewMessagingServiceBuilder

func NewMessagingServiceBuilder() solace.MessagingServiceBuilder

NewMessagingServiceBuilder returns an instance of solace.MessagingServiceBuilder that can be used to build a new solace.MessagingService.

func ReplicationGroupMessageIDOf

func ReplicationGroupMessageIDOf(rmidAsString string) (replicationGroupMessageID rgmid.ReplicationGroupMessageID, err error)

ReplicationGroupMessageIDOf returns an instance of rmid.ReplicationGroupMessageID from the given string that can be compared to a message's ReplicationGroupMessageID or used to start replay. Replication Group Message IDs come in the form rmid1:xxxxx-xxxxxxxxxxx-xxxxxxxx-xxxxxxxx

Subdirectories

Name Synopsis
solace Package solace contains the main type definitions for the various messaging services.
config Package config contains the following constructs used for configuration:
logging Package logging allows for configuration of the API's logging levels.
message Package message contains the type definitions of InboundMessage and OutboundMessage.
rgmid Package rgmid contains the ReplicationGroupMessageID interface.
sdt Package sdt contains the types needed to work with Structured Data on a message.
metrics Package metrics contains the various metrics that can be retrieved as well as the interface for retrieving the metrics.
resource Package resource contains types and factory functions for various broker resources such as topics and queues.
subcode Package subcode contains the subcodes returned from the Solace PubSub+ Messaging API for C. The subcodes are generated in subcode_generated.go.