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 |
---|---|
ServiceBusTransactionContext |
ServiceBusReceiverClient.createTransaction()
Starts a new transaction on Service Bus.
|
ServiceBusTransactionContext |
ServiceBusSenderClient.createTransaction()
Starts a new transaction on Service Bus.
|
Modifier and Type | Method and Description |
---|---|
void |
ServiceBusReceiverClient.commitTransaction(ServiceBusTransactionContext transactionContext)
Commits the transaction and all the operations associated with it.
|
Mono<Void> |
ServiceBusSenderAsyncClient.commitTransaction(ServiceBusTransactionContext transactionContext)
Commits the transaction given
ServiceBusTransactionContext . |
void |
ServiceBusSenderClient.commitTransaction(ServiceBusTransactionContext transactionContext)
Commits the transaction given
ServiceBusTransactionContext . |
Mono<Void> |
ServiceBusReceiverAsyncClient.commitTransaction(ServiceBusTransactionContext transactionContext)
Commits the transaction and all the operations associated with it.
|
void |
ServiceBusReceiverClient.rollbackTransaction(ServiceBusTransactionContext transactionContext)
Rollbacks the transaction given and all operations associated with it.
|
Mono<Void> |
ServiceBusSenderAsyncClient.rollbackTransaction(ServiceBusTransactionContext transactionContext)
Rollbacks the transaction given
ServiceBusTransactionContext . |
void |
ServiceBusSenderClient.rollbackTransaction(ServiceBusTransactionContext transactionContext)
Rollbacks the transaction given and all operations associated with it.
|
Mono<Void> |
ServiceBusReceiverAsyncClient.rollbackTransaction(ServiceBusTransactionContext transactionContext)
Rollbacks the transaction given and all operations associated with it.
|
Mono<Long> |
ServiceBusSenderAsyncClient.scheduleMessage(ServiceBusMessage message,
OffsetDateTime scheduledEnqueueTime,
ServiceBusTransactionContext transactionContext)
Sends a scheduled message to the Azure Service Bus entity this sender is connected to.
|
Long |
ServiceBusSenderClient.scheduleMessage(ServiceBusMessage message,
OffsetDateTime scheduledEnqueueTime,
ServiceBusTransactionContext transactionContext)
Sends a scheduled message to the Azure Service Bus entity this sender is connected to.
|
Flux<Long> |
ServiceBusSenderAsyncClient.scheduleMessages(Iterable<ServiceBusMessage> messages,
OffsetDateTime scheduledEnqueueTime,
ServiceBusTransactionContext transactionContext)
Sends a scheduled messages to the Azure Service Bus entity this sender is connected to.
|
Iterable<Long> |
ServiceBusSenderClient.scheduleMessages(Iterable<ServiceBusMessage> messages,
OffsetDateTime scheduledEnqueueTime,
ServiceBusTransactionContext transactionContext)
Sends a batch of scheduled messages to the Azure Service Bus entity this sender is connected to.
|
Mono<Void> |
ServiceBusSenderAsyncClient.sendMessage(ServiceBusMessage message,
ServiceBusTransactionContext transactionContext)
Sends a message to a Service Bus queue or topic.
|
void |
ServiceBusSenderClient.sendMessage(ServiceBusMessage message,
ServiceBusTransactionContext transactionContext)
Sends a message to a Service Bus queue or topic.
|
Mono<Void> |
ServiceBusSenderAsyncClient.sendMessages(Iterable<ServiceBusMessage> messages,
ServiceBusTransactionContext transactionContext)
Sends a set of messages to a Service Bus queue or topic using a batched approach.
|
void |
ServiceBusSenderClient.sendMessages(Iterable<ServiceBusMessage> messages,
ServiceBusTransactionContext transactionContext)
Sends a set of
ServiceBusMessage to a Service Bus queue or topic using a batched approach. |
Mono<Void> |
ServiceBusSenderAsyncClient.sendMessages(ServiceBusMessageBatch batch,
ServiceBusTransactionContext transactionContext)
Sends a message batch to the Azure Service Bus entity this sender is connected to.
|
void |
ServiceBusSenderClient.sendMessages(ServiceBusMessageBatch batch,
ServiceBusTransactionContext transactionContext)
Sends a message batch to the Azure Service Bus entity this sender is connected to.
|
Modifier and Type | Method and Description |
---|---|
DeadLetterOptions |
DeadLetterOptions.setTransactionContext(ServiceBusTransactionContext transactionContext)
Sets the
ServiceBusTransactionContext to the options. |
CompleteOptions |
CompleteOptions.setTransactionContext(ServiceBusTransactionContext transactionContext)
Sets the
ServiceBusTransactionContext to the options. |
DeferOptions |
DeferOptions.setTransactionContext(ServiceBusTransactionContext transactionContext)
Sets the
ServiceBusTransactionContext to the options. |
AbandonOptions |
AbandonOptions.setTransactionContext(ServiceBusTransactionContext transactionContext)
Sets the
ServiceBusTransactionContext to the options. |
Copyright © 2021 Microsoft Corporation. All rights reserved.