| Package | Description |
|---|---|
| com.azure.messaging.servicebus |
Package containing classes for creating
ServiceBusSenderAsyncClient,
ServiceBusProcessorClient, and
ServiceBusReceiverAsyncClient to perform operations on Azure Service Bus. |
| com.azure.messaging.servicebus.models |
Model classes for interacting with Azure Service Bus.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ServiceBusReceivedMessageContext.abandon(AbandonOptions options)
Abandons the
message in this context. |
Mono<Void> |
ServiceBusReceiverAsyncClient.abandon(ServiceBusReceivedMessage message,
AbandonOptions options)
Abandons a
message updates the message's properties. |
void |
ServiceBusReceiverClient.abandon(ServiceBusReceivedMessage message,
AbandonOptions options)
Abandons a
message and updates the message's properties. |
| Modifier and Type | Method and Description |
|---|---|
AbandonOptions |
AbandonOptions.setPropertiesToModify(Map<String,Object> propertiesToModify)
Sets the message properties to modify while abandoning message.
|
AbandonOptions |
AbandonOptions.setTransactionContext(ServiceBusTransactionContext transactionContext)
Sets the
ServiceBusTransactionContext to the options. |
Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.