| Package | Description |
|---|---|
| com.azure.messaging.servicebus |
Package containing classes for creating
ServiceBusSenderAsyncClient,
ServiceBusProcessorClient, and
ServiceBusReceiverAsyncClient to perform operations on Azure Service Bus. |
| Modifier and Type | Method and Description |
|---|---|
ServiceBusMessageBatch |
ServiceBusSenderClient.createMessageBatch()
Creates a
ServiceBusMessageBatch that can fit as many messages as the transport allows. |
ServiceBusMessageBatch |
ServiceBusSenderClient.createMessageBatch(CreateMessageBatchOptions options)
Creates an
ServiceBusMessageBatch configured with the options specified. |
| Modifier and Type | Method and Description |
|---|---|
Mono<Void> |
ServiceBusSenderAsyncClient.sendMessages(ServiceBusMessageBatch batch)
Sends a message batch to the Azure Service Bus entity this sender is connected to.
|
void |
ServiceBusSenderClient.sendMessages(ServiceBusMessageBatch batch)
Sends a message batch to the Azure Service Bus entity this sender is connected to.
|
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.
|
Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.