Uses of Class
com.azure.messaging.servicebus.ServiceBusTransactionContext
Packages that use ServiceBusTransactionContext
Package
Description
The Azure Service Bus client library allows Java developers to interact with Azure Service Bus entities by
publishing to and/or subscribing from queues and topics/subscriptions.
Model classes for interacting with Azure Service Bus.
-
Uses of ServiceBusTransactionContext in com.azure.messaging.servicebus
Methods in com.azure.messaging.servicebus that return ServiceBusTransactionContextModifier and TypeMethodDescriptionServiceBusReceiverClient.createTransaction()Starts a new transaction on Service Bus.ServiceBusSenderClient.createTransaction()Starts a new transaction on Service Bus.Methods in com.azure.messaging.servicebus that return types with arguments of type ServiceBusTransactionContextModifier and TypeMethodDescriptionServiceBusReceiverAsyncClient.createTransaction()Starts a new service side transaction.ServiceBusSenderAsyncClient.createTransaction()Starts a new transaction on Service Bus.Methods in com.azure.messaging.servicebus with parameters of type ServiceBusTransactionContextModifier and TypeMethodDescriptionServiceBusReceiverAsyncClient.commitTransaction(ServiceBusTransactionContext transactionContext) Commits the transaction and all the operations associated with it.voidServiceBusReceiverClient.commitTransaction(ServiceBusTransactionContext transactionContext) Commits the transaction and all the operations associated with it.ServiceBusSenderAsyncClient.commitTransaction(ServiceBusTransactionContext transactionContext) Commits the transaction givenServiceBusTransactionContext.voidServiceBusSenderClient.commitTransaction(ServiceBusTransactionContext transactionContext) Commits the transaction givenServiceBusTransactionContext.ServiceBusReceiverAsyncClient.rollbackTransaction(ServiceBusTransactionContext transactionContext) Rollbacks the transaction given and all operations associated with it.voidServiceBusReceiverClient.rollbackTransaction(ServiceBusTransactionContext transactionContext) Rollbacks the transaction given and all operations associated with it.ServiceBusSenderAsyncClient.rollbackTransaction(ServiceBusTransactionContext transactionContext) Rollbacks the transaction givenServiceBusTransactionContext.voidServiceBusSenderClient.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.voidServiceBusSenderClient.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.voidServiceBusSenderClient.sendMessages(ServiceBusMessageBatch batch, ServiceBusTransactionContext transactionContext) Sends a message batch to the Azure Service Bus entity this sender is connected to.voidServiceBusSenderClient.sendMessages(Iterable<ServiceBusMessage> messages, ServiceBusTransactionContext transactionContext) Sends a set ofServiceBusMessageto a Service Bus queue or topic using a batched approach. -
Uses of ServiceBusTransactionContext in com.azure.messaging.servicebus.models
Methods in com.azure.messaging.servicebus.models with parameters of type ServiceBusTransactionContextModifier and TypeMethodDescriptionAbandonOptions.setTransactionContext(ServiceBusTransactionContext transactionContext) Sets theServiceBusTransactionContextto the options.CompleteOptions.setTransactionContext(ServiceBusTransactionContext transactionContext) Sets theServiceBusTransactionContextto the options.DeadLetterOptions.setTransactionContext(ServiceBusTransactionContext transactionContext) Sets theServiceBusTransactionContextto the options.DeferOptions.setTransactionContext(ServiceBusTransactionContext transactionContext) Sets theServiceBusTransactionContextto the options.