com.microsoft.azure.servicebus.primitives

Classes

AuthorizationFailedException

Authorization failed exception is thrown when error is encountered during authorizing user's permission to run the intended operations.

ClientConstants
ClientEntity

Contract for all client entities with Open-Close/Abort state m/c

CommunicationException

This exception is thrown when there is a client side connectivity issue.

ConnectionStringBuilder

This class can be used to construct a connection string which can establish communication with ServiceBus entities.

CoreMessageReceiver
CoreMessageSender
ExceptionUtil
IllegalConnectionStringFormatException

This exception is thrown when the connection string provided does not meet the requirement for connection.

MessageLockLostException

This exception is thrown when a receiver attempts complete or abandon or renew-lock or deadLetter or defer operation on a peek-locked message whose lock had already expired.

MessageNotFoundException

This exception is thrown when a receiver attempts to receive a message with sequence number and the message with that sequence number is not available in the queue or subscription.

MessageWithDeliveryTag
MessageWithLockToken
MessagingEntityAlreadyExistsException

This exception is thrown when a subscription client tries to create a rule with the name of an already existing rule.

MessagingEntityDisabledException

This exception is thrown when a client attempts to send messages to or receive messages from a disabled entity.

MessagingEntityNotFoundException

This exception is thrown when a client attempts to create a sender or receiver or client to a non existent entity.

MessagingFactory

Abstracts all AMQP related details and encapsulates an AMQP connection and manages its life cycle.

MiscRequestResponseOperationHandler
OperationCancelledException

This exception is thrown when the underlying Amqp layer encounter an abnormal link abort or disconnect of connection in an unexpected fashion.

Pair<T,V>
PayloadSizeExceededException

this exception is thrown when user attempts to send a event data or brokered message that has exceeded the allowed payload size as defined by the service.

QuotaExceededException

This exception is thrown to signal that a service bus entity or namespace exceeded its quota.

ReceiverDisconnectedException

This exception is thrown when a EventHubReceiver is being disconnected because of one of the following reason:

  • user attempts to connect a non-epoch receiver to a event hub partition, when there is an epoch receiver connected to the partition.
ReceiverErrorContext
RequestResponseUtils
RequestResponseWorkItem
RetryExponential

RetryPolicy implementation where the delay between retries will grow in an exponential manner.

RetryPolicy

Represents an abstraction of a policy for retrying messaging operations when an exception is encountered.

SASUtil

Deprecated

Use SharedAccessSignatureTokenProvider

SenderErrorContext
ServerBusyException

Server busy exception is thrown when the current entity's activity has put excessive load onto the service.

ServiceBusException

This is the base exception that service bus will generate for all error cases.

SessionCannotBeLockedException

This exception is thrown when a client attempts to accept a session that is already locked by another client.

SessionLockLostException

This exception is thrown when a session receiver performs an operation on a session after its lock is expired.

SettleModePair
StringUtil
TimeoutException

This exception is thrown when the operation has exceeded the predetermined time limit.

TimeoutTracker
Timer

An abstraction for a Scheduler functionality - which can later be replaced by a light-weight Thread

TrackingUtil
Util

Enums

MessagingEntityType
TimerType
TransportType

All TransportType switches available for communicating to EventHubs service.