Uses of Class
com.azure.messaging.servicebus.ServiceBusTransactionContext
Package
Description
Package containing classes for creating
ServiceBusSenderAsyncClient
,
ServiceBusProcessorClient
, and
ServiceBusReceiverAsyncClient
to perform operations on Azure Service Bus.Model classes for interacting with Azure Service Bus.
-
Uses of ServiceBusTransactionContext in com.azure.messaging.servicebus
Modifier and TypeMethodDescriptionServiceBusReceiverClient.createTransaction()
Starts a new transaction on Service Bus.ServiceBusSenderClient.createTransaction()
Starts a new transaction on Service Bus.Modifier and TypeMethodDescriptionServiceBusReceiverAsyncClient.createTransaction()
Starts a new service side transaction.ServiceBusSenderAsyncClient.createTransaction()
Starts a new transaction on Service Bus.Modifier and TypeMethodDescriptionServiceBusReceiverAsyncClient.commitTransaction
(ServiceBusTransactionContext transactionContext) Commits the transaction and all the operations associated with it.void
ServiceBusReceiverClient.commitTransaction
(ServiceBusTransactionContext transactionContext) Commits the transaction and all the operations associated with it.ServiceBusSenderAsyncClient.commitTransaction
(ServiceBusTransactionContext transactionContext) Commits the transaction givenServiceBusTransactionContext
.void
ServiceBusSenderClient.commitTransaction
(ServiceBusTransactionContext transactionContext) Commits the transaction givenServiceBusTransactionContext
.ServiceBusReceiverAsyncClient.rollbackTransaction
(ServiceBusTransactionContext transactionContext) Rollbacks the transaction given and all operations associated with it.void
ServiceBusReceiverClient.rollbackTransaction
(ServiceBusTransactionContext transactionContext) Rollbacks the transaction given and all operations associated with it.ServiceBusSenderAsyncClient.rollbackTransaction
(ServiceBusTransactionContext transactionContext) Rollbacks the transaction givenServiceBusTransactionContext
.void
ServiceBusSenderClient.rollbackTransaction
(ServiceBusTransactionContext transactionContext) Rollbacks the transaction given and all operations associated with it.ServiceBusSenderAsyncClient.scheduleMessage
(ServiceBusMessage message, OffsetDateTime scheduledEnqueueTime, ServiceBusTransactionContext transactionContext) Sends a scheduled message to the Azure Service Bus entity this sender is connected to.ServiceBusSenderClient.scheduleMessage
(ServiceBusMessage message, OffsetDateTime scheduledEnqueueTime, ServiceBusTransactionContext transactionContext) Sends a scheduled message to the Azure Service Bus entity this sender is connected to.ServiceBusSenderAsyncClient.scheduleMessages
(Iterable<ServiceBusMessage> messages, OffsetDateTime scheduledEnqueueTime, ServiceBusTransactionContext transactionContext) Sends a scheduled messages to the Azure Service Bus entity this sender is connected to.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.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.ServiceBusSenderAsyncClient.sendMessages
(ServiceBusMessageBatch batch, ServiceBusTransactionContext transactionContext) Sends a message batch to the Azure Service Bus entity this sender is connected to.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
(ServiceBusMessageBatch batch, ServiceBusTransactionContext transactionContext) Sends a message batch to the Azure Service Bus entity this sender is connected to.void
ServiceBusSenderClient.sendMessages
(Iterable<ServiceBusMessage> messages, ServiceBusTransactionContext transactionContext) Sends a set ofServiceBusMessage
to a Service Bus queue or topic using a batched approach. -
Uses of ServiceBusTransactionContext in com.azure.messaging.servicebus.models
Modifier and TypeMethodDescriptionAbandonOptions.setTransactionContext
(ServiceBusTransactionContext transactionContext) Sets theServiceBusTransactionContext
to the options.CompleteOptions.setTransactionContext
(ServiceBusTransactionContext transactionContext) Sets theServiceBusTransactionContext
to the options.DeadLetterOptions.setTransactionContext
(ServiceBusTransactionContext transactionContext) Sets theServiceBusTransactionContext
to the options.DeferOptions.setTransactionContext
(ServiceBusTransactionContext transactionContext) Sets theServiceBusTransactionContext
to the options.