Package | Description |
---|---|
com.azure.messaging.servicebus |
Package containing classes for creating
ServiceBusSenderAsyncClient ,
ServiceBusReceiverAsyncClient to perform operations on Azure Service Bus. |
com.azure.messaging.servicebus.models |
Package containing model classes for interacting with Azure Service Bus.
|
Modifier and Type | Method and Description |
---|---|
Flux<ServiceBusReceivedMessageContext> |
ServiceBusReceiverAsyncClient.receive(ReceiveAsyncOptions options)
Receives a stream of
messages from the Service Bus entity with a set of
options. |
Modifier and Type | Method and Description |
---|---|
ReceiveAsyncOptions |
ReceiveAsyncOptions.setIsAutoCompleteEnabled(boolean isAutoCompleteEnabled)
Sets whether the message should be automatically completed when consumers are finished processing the message.
|
ReceiveAsyncOptions |
ReceiveAsyncOptions.setMaxAutoLockRenewalDuration(Duration maxAutoLockRenewalDuration)
Sets the amount of time to continue auto-renewing the message lock.
|
Copyright © 2020 Microsoft Corporation. All rights reserved.