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. |
void |
ServiceBusReceiverClient.defer(ServiceBusReceivedMessage message,
DeferOptions options)
Defers a
message using its lock token with modified message property. |
Mono<Void> |
ServiceBusReceiverAsyncClient.defer(ServiceBusReceivedMessage message,
DeferOptions options)
Defers a
message with the options set. |
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. |
Copyright © 2021 Microsoft Corporation. All rights reserved.