constants

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package constants is defined below

Index

Constants

View Source
const APIName = "pubsubplus-go-client"

APIName is the name of the API as it should appear when describing the API connection, ie. broker connection

View Source
const BaseModulePath = "solace.dev/go/messaging"

BaseModulePath is the basepath of the module used for version interpolation

View Source
const CoreAPIName = "ccsmp"

CoreAPIName is the name of the Core API as it should appear when describing the API connection, ie. broker connection

View Source
const CouldNotCompareRGMID = "could not compare ReplicationGroupMessageIDs: %s"

CouldNotCompareRGMID error string

View Source
const CouldNotCompareRGMIDBadType = "could not compare with ReplicationGroupMessageID of type %T"

CouldNotCompareRGMIDBadType error string

View Source
const CouldNotConfirmProvisionDeprovisionServiceUnavailable = "could not confirm provision/deprovision, the messaging service was terminated"

CouldNotConfirmProvisionDeprovisionServiceUnavailable error string

View Source
const CouldNotConfirmSubscriptionServiceUnavailable = "could not confirm subscription, the messaging service was terminated"

CouldNotConfirmSubscriptionServiceUnavailable error string

View Source
const CouldNotCreateRGMID = "could not create ReplicationGroupMessageID from string: %s"

CouldNotCreateRGMID error string

View Source
const DefaultAuthenticationScheme = config.AuthenticationSchemeBasic

DefaultAuthenticationScheme is the default auth strategy to use

View Source
const DirectReceiverBackpressureMustBeGreaterThan0 = "direct receiver backpressure buffer size must be > 0"

DirectReceiverBackpressureMustBeGreaterThan0 error string

View Source
const DirectReceiverUnsupportedSubscriptionType = "DirectMessageReceiver does not support subscriptions of type %T"

DirectReceiverUnsupportedSubscriptionType error string

View Source
const FailedToAddSubscription = "failed to add subscription to receiver: "

FailedToAddSubscription error string

View Source
const FailedToDeprovisionEndpoint = "failed to deprovision endpoint: "

FailedToDeprovisionEndpoint error string

View Source
const FailedToProvisionEndpoint = "failed to provision endpoint: "

FailedToProvisionEndpoint error string

View Source
const IncompleteMessageDeliveryMessage = "failed to publish messages, publisher terminated with %d undelivered messages"

IncompleteMessageDeliveryMessage error string

View Source
const IncompleteMessageDeliveryMessageWithUnacked = "failed to publish messages, publisher terminated with %d undelivered messages and %d unacknowledged messages"

IncompleteMessageDeliveryMessageWithUnacked error string

View Source
const IncompleteMessageReceptionMessage = "failed to dispatch messages, receiver terminated with %d undelivered messages"

IncompleteMessageReceptionMessage error string

View Source
const InvalidConfiguration = "invalid configuration provided: "

InvalidConfiguration error string

View Source
const InvalidInboundMessageType = "got an invalid InboundMessage, was it received with a receiver? backing type %T"

InvalidInboundMessageType error string

View Source
const InvalidMessageSettlementOutcome = "invalid message settlement outcome used to settle message"

InvalidMessageSettlementOutcome error string

View Source
const InvalidOutboundMessageType = "got an invalid OutboundMessage, was it built by OutboundMessageBuilder? backing type %T"

InvalidOutboundMessageType error string

View Source
const InvalidUserPropertyDataType = "type %T at key %s is not supported for user data"

InvalidUserPropertyDataType error string

View Source
const LoginFailure = "failed to authenticate with the broker: "

LoginFailure error string

View Source
const MissingReplyMessageHandler = "got nil ReplyMessageHandler, ReplyMessageHandler is required for Publish"

MissingReplyMessageHandler error string

View Source
const MissingServicePropertiesGivenScheme = "one of properties %s is required when using authentication scheme %s"

MissingServicePropertiesGivenScheme error string

View Source
const MissingServiceProperty = "property %s is required to build a messaging service"

MissingServiceProperty error string

View Source
const MissingServicePropertyGivenScheme = "property %s is required when using authentication scheme %s"

MissingServicePropertyGivenScheme error string

View Source
const PersistentReceiverCannotPauseBadState = "cannot pause message receiption when not in started state"

PersistentReceiverCannotPauseBadState error string

View Source
const PersistentReceiverCannotUnpauseBadState = "cannot resume message receiption when not in started state"

PersistentReceiverCannotUnpauseBadState error string

View Source
const PersistentReceiverMissingQueue = "queue must be provided when building a new PersistentMessageReceiver"

PersistentReceiverMissingQueue error string

View Source
const PersistentReceiverMustSpecifyRGMID = "" /* 132-byte string literal not displayed */

PersistentReceiverMustSpecifyRGMID error string

View Source
const PersistentReceiverMustSpecifyTime = "must specify ReceiverPropertyPersistentMessageReplayStrategyTimeBasedStartTime when replay from time is selected"

PersistentReceiverMustSpecifyTime error string

View Source
const PersistentReceiverUnsupportedSubscriptionType = "PersistentMessageReceiver does not support subscriptions of type %T"

PersistentReceiverUnsupportedSubscriptionType error string

View Source
const ReceiverCannotReceiveAlreadyTerminated = "receiver has been terminated, no messages to receive"

ReceiverCannotReceiveAlreadyTerminated error string

View Source
const ReceiverCannotReceiveNotStarted = "receiver has not yet been started, no messages to receive"

ReceiverCannotReceiveNotStarted error string

View Source
const ReceiverTimedOutWaitingForMessage = "timed out waiting for message on call to Receive"

ReceiverTimedOutWaitingForMessage error string

View Source
const ReplierFailureToPublishReply = "Publish Reply Error: "

ReplierFailureToPublishReply error string

View Source
const RequestReplyPublisherCannotReceiveReplyAlreadyTerminated = "publisher has been terminated, no reply messages to receive"

RequestReplyPublisherCannotReceiveReplyAlreadyTerminated error string

View Source
const RequestReplyPublisherTimedOutWaitingForReply = "timed out waiting for reply message for request publish"

RequestReplyPublisherTimedOutWaitingForReply error string

View Source
const ShareNameMustNotBeEmpty = "share name must not be empty"

ShareNameMustNotBeEmpty error string

View Source
const ShareNameMustNotContainInvalidCharacters = "share name must not contain literals '*' or '>'"

ShareNameMustNotContainInvalidCharacters error string

View Source
const TerminatedOnMessagingServiceShutdown = "terminated due to MessagingService disconnect"

TerminatedOnMessagingServiceShutdown error string

View Source
const UnableToConnectAlreadyDisconnectedService = "unable to connect messaging service in state %s"

UnableToConnectAlreadyDisconnectedService error string

View Source
const UnableToConnectAlreadyDisposedService = "unable to connect messaging service after it has already been disposed of"

UnableToConnectAlreadyDisposedService error string

View Source
const UnableToDeprovisionParentServiceNotStarted = "cannot deprovision endpoint unless parent MessagingService is connected"

UnableToDeprovisionParentServiceNotStarted error string

View Source
const UnableToDisconnectUnstartedService = "unable to disconnect messaging service in state %s"

UnableToDisconnectUnstartedService error string

View Source
const UnableToModifyNonModifiableGivenServiceProperty = "unable to modify the non-modifiable given service property: %s"

UnableToModifyNonModifiableGivenServiceProperty error string

View Source
const UnableToModifyPropertyOfDisconnectedService = "unable to modify a property of a service that is disconnected"

UnableToModifyPropertyOfDisconnectedService error string

View Source
const UnableToModifySubscriptionBadState = "unable to modify subscriptions in state %s"

UnableToModifySubscriptionBadState error string

View Source
const UnableToProvisionParentServiceNotStarted = "cannot provision endpoint unless parent MessagingService is connected"

UnableToProvisionParentServiceNotStarted error string

View Source
const UnableToPublishAlreadyTerminated = "unable to publish message: message publisher has been terminated"

UnableToPublishAlreadyTerminated error string

View Source
const UnableToPublishNotStarted = "unable to publish message: message publisher is not started. current state: "

UnableToPublishNotStarted error string

View Source
const UnableToRegisterCallbackReceiverTerminating = "cannot register message handler, receiver is not running"

UnableToRegisterCallbackReceiverTerminating error string

View Source
const UnableToRetrieveMessageID = "unable to retrieve message ID from message, was the message received by a persistent receiver?"

UnableToRetrieveMessageID error string

View Source
const UnableToSettleAlreadyTerminated = "unable to settle message: message receiver has been terminated"

UnableToSettleAlreadyTerminated error string

View Source
const UnableToSettleNotStarted = "unable to settle meessage: message receiver is not yet started"

UnableToSettleNotStarted error string

View Source
const UnableToStartPublisher = "cannot start the publisher as it has already been terminated"

UnableToStartPublisher error string

View Source
const UnableToStartPublisherParentServiceNotStarted = "cannot start publisher unless parent MessagingService is connected"

UnableToStartPublisherParentServiceNotStarted error string

View Source
const UnableToStartReceiver = "cannot start the receiver as it has already been terminated"

UnableToStartReceiver error string

View Source
const UnableToStartReceiverParentServiceNotStarted = "cannot start receiver unless parent MessagingService is connected"

UnableToStartReceiverParentServiceNotStarted error string

View Source
const UnableToTerminatePublisher = "cannot terminate the publisher as it has not been started"

UnableToTerminatePublisher error string

View Source
const UnableToTerminateReceiver = "cannot terminate the receiver as it has not been started"

UnableToTerminateReceiver error string

View Source
const UnresolvedSession = "requested service is unreachable: "

UnresolvedSession error string

View Source
const WouldBlock = "buffer is full, cannot queue additional messages"

WouldBlock error string

Variables

DefaultCcsmpProperties contains the default properties to use when building a new session

View Source
var DefaultConfiguration = config.ServicePropertyMap{}

DefaultConfiguration refers to any default configuration values that should override the default CCSMP values here

DefaultDirectPublisherProperties contains the default properties for a DirectPublisher

DefaultDirectReceiverProperties contains the default properties for a DirectReceiver

DefaultEndpointProperties contains the default properties to provision an Endpoint

DefaultPersistentPublisherProperties contains the default properties for a PersistentPublisher

View Source
var DefaultPersistentReceiverProperties = config.ReceiverPropertyMap{}

DefaultPersistentReceiverProperties contains the default properties for a PersistentReceiver

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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