| 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 ServiceBusErrorSource |
ServiceBusErrorSource.ABANDON
Error while abandoning the message.
|
static ServiceBusErrorSource |
ServiceBusErrorSource.ACCEPT_SESSION
Error while session is accepted.
|
static ServiceBusErrorSource |
ServiceBusErrorSource.CLOSE_SESSION
Error while session is closed.
|
static ServiceBusErrorSource |
ServiceBusErrorSource.COMPLETE
Error while completing the message.
|
static ServiceBusErrorSource |
ServiceBusErrorSource.MANAGEMENT
Error while trying to do an operation on the management link.
|
static ServiceBusErrorSource |
ServiceBusErrorSource.RECEIVE
Error while receiving the message(s).
|
static ServiceBusErrorSource |
ServiceBusErrorSource.RENEW_LOCK
Error while renewing lock.
|
static ServiceBusErrorSource |
ServiceBusErrorSource.SEND
Error while sending a message.
|
static ServiceBusErrorSource |
ServiceBusErrorSource.UNKNOWN
Error when we could not determine the source.
|
static ServiceBusErrorSource |
ServiceBusErrorSource.USER_CALLBACK
Error while user's code is running for a message.
|
| Modifier and Type | Method and Description |
|---|---|
ServiceBusErrorSource |
ServiceBusErrorContext.getErrorSource()
Gets the source associated with the error.
|
| Constructor and Description |
|---|
ServiceBusException(Throwable throwable,
ServiceBusErrorSource errorSource)
Creates an instance containing the error and the operation that created the error.
|
Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.