Package | Description |
---|---|
com.azure.messaging.servicebus |
Package containing classes for creating
ServiceBusSenderAsyncClient ,
ServiceBusProcessorClient , and
ServiceBusReceiverAsyncClient to perform operations on Azure Service Bus. |
Modifier and Type | Field and Description |
---|---|
static ServiceBusFailureReason |
ServiceBusFailureReason.GENERAL_ERROR
The exception was the result of a general error within the client library.
|
static ServiceBusFailureReason |
ServiceBusFailureReason.MESSAGE_LOCK_LOST
The lock on the message is lost.
|
static ServiceBusFailureReason |
ServiceBusFailureReason.MESSAGE_NOT_FOUND
The requested message was not found.
|
static ServiceBusFailureReason |
ServiceBusFailureReason.MESSAGE_SIZE_EXCEEDED
A message is larger than the maximum size allowed for its transport.
|
static ServiceBusFailureReason |
ServiceBusFailureReason.MESSAGING_ENTITY_ALREADY_EXISTS
An entity with the same name exists under the same namespace.
|
static ServiceBusFailureReason |
ServiceBusFailureReason.MESSAGING_ENTITY_DISABLED
The Messaging Entity is disabled.
|
static ServiceBusFailureReason |
ServiceBusFailureReason.MESSAGING_ENTITY_NOT_FOUND
A Service Bus resource cannot be found by the Service Bus service.
|
static ServiceBusFailureReason |
ServiceBusFailureReason.QUOTA_EXCEEDED
The quota applied to an Service Bus resource has been exceeded while interacting with the Azure Service Bus
service.
|
static ServiceBusFailureReason |
ServiceBusFailureReason.SERVICE_BUSY
The Azure Service Bus service reports that it is busy in response to a client request to perform an operation
.
|
static ServiceBusFailureReason |
ServiceBusFailureReason.SERVICE_COMMUNICATION_ERROR
There was a general communications error encountered when interacting with the Azure Service Bus service.
|
static ServiceBusFailureReason |
ServiceBusFailureReason.SERVICE_TIMEOUT
An operation or other request timed out while interacting with the Azure Service Bus service.
|
static ServiceBusFailureReason |
ServiceBusFailureReason.SESSION_CANNOT_BE_LOCKED
The requested session cannot be locked.
|
static ServiceBusFailureReason |
ServiceBusFailureReason.SESSION_LOCK_LOST
The lock on the session has expired.
|
static ServiceBusFailureReason |
ServiceBusFailureReason.UNAUTHORIZED
The user doesn't have access to the entity.
|
Modifier and Type | Method and Description |
---|---|
ServiceBusFailureReason |
ServiceBusException.getReason()
Gets the
ServiceBusFailureReason in case of any errors. |
Copyright © 2021 Microsoft Corporation. All rights reserved.