| 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 |
|---|---|
Mono<ServiceBusMessageBatch> |
ServiceBusSenderAsyncClient.createMessageBatch(CreateMessageBatchOptions options)
Creates an
ServiceBusMessageBatch configured with the options specified. |
ServiceBusMessageBatch |
ServiceBusSenderClient.createMessageBatch(CreateMessageBatchOptions options)
Creates an
ServiceBusMessageBatch configured with the options specified. |
| Modifier and Type | Method and Description |
|---|---|
CreateMessageBatchOptions |
CreateMessageBatchOptions.setMaximumSizeInBytes(int maximumSizeInBytes)
Sets the maximum size for the batch of messages.
|
Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.