Interface ServiceBusEndpointBuilderFactory.ServiceBusEndpointBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder,org.apache.camel.EndpointConsumerResolver,org.apache.camel.builder.EndpointProducerBuilder,org.apache.camel.EndpointProducerResolver,ServiceBusEndpointBuilderFactory.ServiceBusEndpointConsumerBuilder,ServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder
- Enclosing interface:
ServiceBusEndpointBuilderFactory
public static interface ServiceBusEndpointBuilderFactory.ServiceBusEndpointBuilder
extends ServiceBusEndpointBuilderFactory.ServiceBusEndpointConsumerBuilder, ServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder
Builder for endpoint for the Azure ServiceBus component.
-
Method Summary
Modifier and TypeMethodDescriptionadvanced()amqpRetryOptions(com.azure.core.amqp.AmqpRetryOptions amqpRetryOptions) Sets the retry options for Service Bus clients.amqpRetryOptions(String amqpRetryOptions) Sets the retry options for Service Bus clients.amqpTransportType(com.azure.core.amqp.AmqpTransportType amqpTransportType) Sets the transport type by which all the communication with Azure Service Bus occurs.amqpTransportType(String amqpTransportType) Sets the transport type by which all the communication with Azure Service Bus occurs.clientOptions(com.azure.core.util.ClientOptions clientOptions) Sets the ClientOptions 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.clientOptions(String clientOptions) Sets the ClientOptions 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.connectionString(String connectionString) Sets the connection string for a Service Bus namespace or a specific Service Bus resource.fullyQualifiedNamespace(String fullyQualifiedNamespace) Fully Qualified Namespace of the service bus.proxyOptions(com.azure.core.amqp.ProxyOptions proxyOptions) Sets the proxy configuration to use for ServiceBusSenderAsyncClient.proxyOptions(String proxyOptions) Sets the proxy configuration to use for ServiceBusSenderAsyncClient.serviceBusType(String serviceBusType) The service bus type of connection to execute.serviceBusType(org.apache.camel.component.azure.servicebus.ServiceBusType serviceBusType) The service bus type of connection to execute.tokenCredential(com.azure.core.credential.TokenCredential tokenCredential) A TokenCredential for Azure AD authentication.tokenCredential(String tokenCredential) A TokenCredential for Azure AD authentication.Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUriMethods inherited from interface org.apache.camel.EndpointConsumerResolver
resolve, resolveMethods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUriMethods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolveMethods inherited from interface org.apache.camel.builder.endpoint.dsl.ServiceBusEndpointBuilderFactory.ServiceBusEndpointConsumerBuilder
consumerOperation, consumerOperation, disableAutoComplete, disableAutoComplete, maxAutoLockRenewDuration, maxAutoLockRenewDuration, peekNumMaxMessages, peekNumMaxMessages, prefetchCount, prefetchCount, receiverAsyncClient, receiverAsyncClient, serviceBusReceiveMode, serviceBusReceiveMode, subQueue, subQueue, subscriptionNameMethods inherited from interface org.apache.camel.builder.endpoint.dsl.ServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder
binary, binary, producerOperation, producerOperation, scheduledEnqueueTime, scheduledEnqueueTime, senderAsyncClient, senderAsyncClient, serviceBusTransactionContext, serviceBusTransactionContext
-
Method Details
-
advanced
- Specified by:
advancedin interfaceServiceBusEndpointBuilderFactory.ServiceBusEndpointConsumerBuilder- Specified by:
advancedin interfaceServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder
-
amqpRetryOptions
default ServiceBusEndpointBuilderFactory.ServiceBusEndpointBuilder amqpRetryOptions(com.azure.core.amqp.AmqpRetryOptions amqpRetryOptions) Sets the retry options for Service Bus clients. If not specified, the default retry options are used. The option is a: <code>com.azure.core.amqp.AmqpRetryOptions</code> type. Group: common- Specified by:
amqpRetryOptionsin interfaceServiceBusEndpointBuilderFactory.ServiceBusEndpointConsumerBuilder- Specified by:
amqpRetryOptionsin interfaceServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder- Parameters:
amqpRetryOptions- the value to set- Returns:
- the dsl builder
-
amqpRetryOptions
default ServiceBusEndpointBuilderFactory.ServiceBusEndpointBuilder amqpRetryOptions(String amqpRetryOptions) Sets the retry options for Service Bus clients. If not specified, the default retry options are used. The option will be converted to a <code>com.azure.core.amqp.AmqpRetryOptions</code> type. Group: common- Specified by:
amqpRetryOptionsin interfaceServiceBusEndpointBuilderFactory.ServiceBusEndpointConsumerBuilder- Specified by:
amqpRetryOptionsin interfaceServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder- Parameters:
amqpRetryOptions- the value to set- Returns:
- the dsl builder
-
amqpTransportType
default ServiceBusEndpointBuilderFactory.ServiceBusEndpointBuilder amqpTransportType(com.azure.core.amqp.AmqpTransportType amqpTransportType) Sets the transport type by which all the communication with Azure Service Bus occurs. Default value is AMQP. The option is a: <code>com.azure.core.amqp.AmqpTransportType</code> type. Default: AMQP Group: common- Specified by:
amqpTransportTypein interfaceServiceBusEndpointBuilderFactory.ServiceBusEndpointConsumerBuilder- Specified by:
amqpTransportTypein interfaceServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder- Parameters:
amqpTransportType- the value to set- Returns:
- the dsl builder
-
amqpTransportType
default ServiceBusEndpointBuilderFactory.ServiceBusEndpointBuilder amqpTransportType(String amqpTransportType) Sets the transport type by which all the communication with Azure Service Bus occurs. Default value is AMQP. The option will be converted to a <code>com.azure.core.amqp.AmqpTransportType</code> type. Default: AMQP Group: common- Specified by:
amqpTransportTypein interfaceServiceBusEndpointBuilderFactory.ServiceBusEndpointConsumerBuilder- Specified by:
amqpTransportTypein interfaceServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder- Parameters:
amqpTransportType- the value to set- Returns:
- the dsl builder
-
clientOptions
default ServiceBusEndpointBuilderFactory.ServiceBusEndpointBuilder clientOptions(com.azure.core.util.ClientOptions clientOptions) Sets the ClientOptions 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. The option is a: <code>com.azure.core.util.ClientOptions</code> type. Group: common- Specified by:
clientOptionsin interfaceServiceBusEndpointBuilderFactory.ServiceBusEndpointConsumerBuilder- Specified by:
clientOptionsin interfaceServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder- Parameters:
clientOptions- the value to set- Returns:
- the dsl builder
-
clientOptions
default ServiceBusEndpointBuilderFactory.ServiceBusEndpointBuilder clientOptions(String clientOptions) Sets the ClientOptions 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. The option will be converted to a <code>com.azure.core.util.ClientOptions</code> type. Group: common- Specified by:
clientOptionsin interfaceServiceBusEndpointBuilderFactory.ServiceBusEndpointConsumerBuilder- Specified by:
clientOptionsin interfaceServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder- Parameters:
clientOptions- the value to set- Returns:
- the dsl builder
-
proxyOptions
default ServiceBusEndpointBuilderFactory.ServiceBusEndpointBuilder proxyOptions(com.azure.core.amqp.ProxyOptions proxyOptions) Sets the proxy configuration to use for ServiceBusSenderAsyncClient. When a proxy is configured, AMQP_WEB_SOCKETS must be used for the transport type. The option is a: <code>com.azure.core.amqp.ProxyOptions</code> type. Group: common- Specified by:
proxyOptionsin interfaceServiceBusEndpointBuilderFactory.ServiceBusEndpointConsumerBuilder- Specified by:
proxyOptionsin interfaceServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder- Parameters:
proxyOptions- the value to set- Returns:
- the dsl builder
-
proxyOptions
default ServiceBusEndpointBuilderFactory.ServiceBusEndpointBuilder proxyOptions(String proxyOptions) Sets the proxy configuration to use for ServiceBusSenderAsyncClient. When a proxy is configured, AMQP_WEB_SOCKETS must be used for the transport type. The option will be converted to a <code>com.azure.core.amqp.ProxyOptions</code> type. Group: common- Specified by:
proxyOptionsin interfaceServiceBusEndpointBuilderFactory.ServiceBusEndpointConsumerBuilder- Specified by:
proxyOptionsin interfaceServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder- Parameters:
proxyOptions- the value to set- Returns:
- the dsl builder
-
serviceBusType
default ServiceBusEndpointBuilderFactory.ServiceBusEndpointBuilder serviceBusType(org.apache.camel.component.azure.servicebus.ServiceBusType serviceBusType) The service bus type of connection to execute. Queue is for typical queue option and topic for subscription based model. The option is a: <code>org.apache.camel.component.azure.servicebus.ServiceBusType</code> type. Required: true Default: queue Group: common- Specified by:
serviceBusTypein interfaceServiceBusEndpointBuilderFactory.ServiceBusEndpointConsumerBuilder- Specified by:
serviceBusTypein interfaceServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder- Parameters:
serviceBusType- the value to set- Returns:
- the dsl builder
-
serviceBusType
default ServiceBusEndpointBuilderFactory.ServiceBusEndpointBuilder serviceBusType(String serviceBusType) The service bus type of connection to execute. Queue is for typical queue option and topic for subscription based model. The option will be converted to a <code>org.apache.camel.component.azure.servicebus.ServiceBusType</code> type. Required: true Default: queue Group: common- Specified by:
serviceBusTypein interfaceServiceBusEndpointBuilderFactory.ServiceBusEndpointConsumerBuilder- Specified by:
serviceBusTypein interfaceServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder- Parameters:
serviceBusType- the value to set- Returns:
- the dsl builder
-
connectionString
default ServiceBusEndpointBuilderFactory.ServiceBusEndpointBuilder connectionString(String connectionString) Sets the connection string for a Service Bus namespace or a specific Service Bus resource. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
connectionStringin interfaceServiceBusEndpointBuilderFactory.ServiceBusEndpointConsumerBuilder- Specified by:
connectionStringin interfaceServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder- Parameters:
connectionString- the value to set- Returns:
- the dsl builder
-
fullyQualifiedNamespace
default ServiceBusEndpointBuilderFactory.ServiceBusEndpointBuilder fullyQualifiedNamespace(String fullyQualifiedNamespace) Fully Qualified Namespace of the service bus. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
fullyQualifiedNamespacein interfaceServiceBusEndpointBuilderFactory.ServiceBusEndpointConsumerBuilder- Specified by:
fullyQualifiedNamespacein interfaceServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder- Parameters:
fullyQualifiedNamespace- the value to set- Returns:
- the dsl builder
-
tokenCredential
default ServiceBusEndpointBuilderFactory.ServiceBusEndpointBuilder tokenCredential(com.azure.core.credential.TokenCredential tokenCredential) A TokenCredential for Azure AD authentication. The option is a: <code>com.azure.core.credential.TokenCredential</code> type. Group: security- Specified by:
tokenCredentialin interfaceServiceBusEndpointBuilderFactory.ServiceBusEndpointConsumerBuilder- Specified by:
tokenCredentialin interfaceServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder- Parameters:
tokenCredential- the value to set- Returns:
- the dsl builder
-
tokenCredential
default ServiceBusEndpointBuilderFactory.ServiceBusEndpointBuilder tokenCredential(String tokenCredential) A TokenCredential for Azure AD authentication. The option will be converted to a <code>com.azure.core.credential.TokenCredential</code> type. Group: security- Specified by:
tokenCredentialin interfaceServiceBusEndpointBuilderFactory.ServiceBusEndpointConsumerBuilder- Specified by:
tokenCredentialin interfaceServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder- Parameters:
tokenCredential- the value to set- Returns:
- the dsl builder
-