Uses of Class
com.azure.messaging.servicebus.ServiceBusClientBuilder
Package
Description
Package containing classes for creating
ServiceBusSenderAsyncClient
,
ServiceBusProcessorClient
, and
ServiceBusReceiverAsyncClient
to perform operations on Azure Service Bus.-
Uses of ServiceBusClientBuilder in com.azure.messaging.servicebus
Modifier and TypeMethodDescriptionServiceBusClientBuilder.clientOptions
(com.azure.core.util.ClientOptions clientOptions) Sets theClientOptions
to be sent from the client built from this builder, enabling customization of certain properties, as well as support the addition of custom header information.ServiceBusClientBuilder.configuration
(com.azure.core.util.Configuration configuration) Sets the configuration store that is used during construction of the service client.ServiceBusClientBuilder.connectionString
(String connectionString) Sets the connection string for a Service Bus namespace or a specific Service Bus resource.ServiceBusClientBuilder.credential
(com.azure.core.credential.AzureNamedKeyCredential credential) Sets the credential with the shared access policies for the Service Bus resource.ServiceBusClientBuilder.credential
(com.azure.core.credential.AzureSasCredential credential) Sets the credential with Shared Access Signature for the Service Bus resource.ServiceBusClientBuilder.credential
(com.azure.core.credential.TokenCredential credential) Sets theTokenCredential
used to authorize requests sent to the service.ServiceBusClientBuilder.credential
(String fullyQualifiedNamespace, com.azure.core.credential.AzureNamedKeyCredential credential) Sets the credential with the shared access policies for the Service Bus resource.ServiceBusClientBuilder.credential
(String fullyQualifiedNamespace, com.azure.core.credential.AzureSasCredential credential) Sets the credential with Shared Access Signature for the Service Bus resource.ServiceBusClientBuilder.credential
(String fullyQualifiedNamespace, com.azure.core.credential.TokenCredential credential) Sets the credential by using aTokenCredential
for the Service Bus resource.ServiceBusClientBuilder.customEndpointAddress
(String customEndpointAddress) Sets a custom endpoint address when connecting to the Service Bus service.ServiceBusClientBuilder.enableCrossEntityTransactions()
Enable cross entity transaction on the connection to Service bus.ServiceBusClientBuilder.fullyQualifiedNamespace
(String fullyQualifiedNamespace) Sets the fully-qualified namespace for the Service Bus.ServiceBusClientBuilder.proxyOptions
(com.azure.core.amqp.ProxyOptions proxyOptions) Sets the proxy configuration to use forServiceBusSenderAsyncClient
.ServiceBusClientBuilder.retryOptions
(com.azure.core.amqp.AmqpRetryOptions retryOptions) Sets the retry options for Service Bus clients.ServiceBusClientBuilder.transportType
(com.azure.core.amqp.AmqpTransportType transportType) Sets the transport type by which all the communication with Azure Service Bus occurs.