| 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.defer(DeferOptions options)
Defers the
message in this context. |
Mono<Void> |
ServiceBusReceiverAsyncClient.defer(ServiceBusReceivedMessage message,
DeferOptions options)
Defers a
message with the options set. |
void |
ServiceBusReceiverClient.defer(ServiceBusReceivedMessage message,
DeferOptions options)
Defers a
message using its lock token with modified message property. |
| Modifier and Type | Method and Description |
|---|---|
DeferOptions |
DeferOptions.setPropertiesToModify(Map<String,Object> propertiesToModify)
Sets the message properties to modify while deferring the message.
|
DeferOptions |
DeferOptions.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.