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. |
void |
ServiceBusReceiverClient.abandon(ServiceBusReceivedMessage message,
AbandonOptions options)
Abandons a
message and updates the message's properties. |
Mono<Void> |
ServiceBusReceiverAsyncClient.abandon(ServiceBusReceivedMessage message,
AbandonOptions options)
Abandons a
message 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. |
Copyright © 2021 Microsoft Corporation. All rights reserved.