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.credentialType
(String credentialType) Determines the credential strategy to adopt.credentialType
(org.apache.camel.component.azure.servicebus.CredentialType credentialType) Determines the credential strategy to adopt.fullyQualifiedNamespace
(String fullyQualifiedNamespace) Fully Qualified Namespace of the service bus.headerFilterStrategy
(String headerFilterStrategy) To use a custom HeaderFilterStrategy to filter Service Bus application properties to and from Camel message headers.headerFilterStrategy
(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy) To use a custom HeaderFilterStrategy to filter Service Bus application properties to and from Camel message headers.proxyOptions
(com.azure.core.amqp.ProxyOptions proxyOptions) Sets the proxy configuration to use for ServiceBusSenderClient.proxyOptions
(String proxyOptions) Sets the proxy configuration to use for ServiceBusSenderClient.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, getUri
Methods inherited from interface org.apache.camel.EndpointConsumerResolver
resolve, resolve
Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
Methods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolve
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.ServiceBusEndpointBuilderFactory.ServiceBusEndpointConsumerBuilder
enableDeadLettering, enableDeadLettering, maxAutoLockRenewDuration, maxAutoLockRenewDuration, maxConcurrentCalls, maxConcurrentCalls, prefetchCount, prefetchCount, processorClient, processorClient, serviceBusReceiveMode, serviceBusReceiveMode, sessionEnabled, sessionEnabled, subQueue, subQueue, subscriptionName
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.ServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder
binary, binary, producerOperation, producerOperation, scheduledEnqueueTime, scheduledEnqueueTime, senderClient, senderClient, serviceBusTransactionContext, serviceBusTransactionContext, sessionId
-
Method Details
-
advanced
- Specified by:
advanced
in interfaceServiceBusEndpointBuilderFactory.ServiceBusEndpointConsumerBuilder
- Specified by:
advanced
in 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:com.azure.core.amqp.AmqpRetryOptions
type. Group: common- Specified by:
amqpRetryOptions
in interfaceServiceBusEndpointBuilderFactory.ServiceBusEndpointConsumerBuilder
- Specified by:
amqpRetryOptions
in 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 acom.azure.core.amqp.AmqpRetryOptions
type. Group: common- Specified by:
amqpRetryOptions
in interfaceServiceBusEndpointBuilderFactory.ServiceBusEndpointConsumerBuilder
- Specified by:
amqpRetryOptions
in 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:com.azure.core.amqp.AmqpTransportType
type. Default: AMQP Group: common- Specified by:
amqpTransportType
in interfaceServiceBusEndpointBuilderFactory.ServiceBusEndpointConsumerBuilder
- Specified by:
amqpTransportType
in 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 acom.azure.core.amqp.AmqpTransportType
type. Default: AMQP Group: common- Specified by:
amqpTransportType
in interfaceServiceBusEndpointBuilderFactory.ServiceBusEndpointConsumerBuilder
- Specified by:
amqpTransportType
in 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:com.azure.core.util.ClientOptions
type. Group: common- Specified by:
clientOptions
in interfaceServiceBusEndpointBuilderFactory.ServiceBusEndpointConsumerBuilder
- Specified by:
clientOptions
in 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 acom.azure.core.util.ClientOptions
type. Group: common- Specified by:
clientOptions
in interfaceServiceBusEndpointBuilderFactory.ServiceBusEndpointConsumerBuilder
- Specified by:
clientOptions
in interfaceServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder
- Parameters:
clientOptions
- the value to set- Returns:
- the dsl builder
-
headerFilterStrategy
default ServiceBusEndpointBuilderFactory.ServiceBusEndpointBuilder headerFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy) To use a custom HeaderFilterStrategy to filter Service Bus application properties to and from Camel message headers. The option is a:org.apache.camel.spi.HeaderFilterStrategy
type. Group: common- Specified by:
headerFilterStrategy
in interfaceServiceBusEndpointBuilderFactory.ServiceBusEndpointConsumerBuilder
- Specified by:
headerFilterStrategy
in interfaceServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder
- Parameters:
headerFilterStrategy
- the value to set- Returns:
- the dsl builder
-
headerFilterStrategy
default ServiceBusEndpointBuilderFactory.ServiceBusEndpointBuilder headerFilterStrategy(String headerFilterStrategy) To use a custom HeaderFilterStrategy to filter Service Bus application properties to and from Camel message headers. The option will be converted to aorg.apache.camel.spi.HeaderFilterStrategy
type. Group: common- Specified by:
headerFilterStrategy
in interfaceServiceBusEndpointBuilderFactory.ServiceBusEndpointConsumerBuilder
- Specified by:
headerFilterStrategy
in interfaceServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder
- Parameters:
headerFilterStrategy
- 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 ServiceBusSenderClient. When a proxy is configured, AMQP_WEB_SOCKETS must be used for the transport type. The option is a:com.azure.core.amqp.ProxyOptions
type. Group: common- Specified by:
proxyOptions
in interfaceServiceBusEndpointBuilderFactory.ServiceBusEndpointConsumerBuilder
- Specified by:
proxyOptions
in 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 ServiceBusSenderClient. When a proxy is configured, AMQP_WEB_SOCKETS must be used for the transport type. The option will be converted to acom.azure.core.amqp.ProxyOptions
type. Group: common- Specified by:
proxyOptions
in interfaceServiceBusEndpointBuilderFactory.ServiceBusEndpointConsumerBuilder
- Specified by:
proxyOptions
in 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:org.apache.camel.component.azure.servicebus.ServiceBusType
type. Required: true Default: queue Group: common- Specified by:
serviceBusType
in interfaceServiceBusEndpointBuilderFactory.ServiceBusEndpointConsumerBuilder
- Specified by:
serviceBusType
in 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 aorg.apache.camel.component.azure.servicebus.ServiceBusType
type. Required: true Default: queue Group: common- Specified by:
serviceBusType
in interfaceServiceBusEndpointBuilderFactory.ServiceBusEndpointConsumerBuilder
- Specified by:
serviceBusType
in 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:java.lang.String
type. Group: security- Specified by:
connectionString
in interfaceServiceBusEndpointBuilderFactory.ServiceBusEndpointConsumerBuilder
- Specified by:
connectionString
in interfaceServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder
- Parameters:
connectionString
- the value to set- Returns:
- the dsl builder
-
credentialType
default ServiceBusEndpointBuilderFactory.ServiceBusEndpointBuilder credentialType(org.apache.camel.component.azure.servicebus.CredentialType credentialType) Determines the credential strategy to adopt. The option is a:org.apache.camel.component.azure.servicebus.CredentialType
type. Default: CONNECTION_STRING Group: security- Specified by:
credentialType
in interfaceServiceBusEndpointBuilderFactory.ServiceBusEndpointConsumerBuilder
- Specified by:
credentialType
in interfaceServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder
- Parameters:
credentialType
- the value to set- Returns:
- the dsl builder
-
credentialType
default ServiceBusEndpointBuilderFactory.ServiceBusEndpointBuilder credentialType(String credentialType) Determines the credential strategy to adopt. The option will be converted to aorg.apache.camel.component.azure.servicebus.CredentialType
type. Default: CONNECTION_STRING Group: security- Specified by:
credentialType
in interfaceServiceBusEndpointBuilderFactory.ServiceBusEndpointConsumerBuilder
- Specified by:
credentialType
in interfaceServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder
- Parameters:
credentialType
- 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:java.lang.String
type. Group: security- Specified by:
fullyQualifiedNamespace
in interfaceServiceBusEndpointBuilderFactory.ServiceBusEndpointConsumerBuilder
- Specified by:
fullyQualifiedNamespace
in 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:com.azure.core.credential.TokenCredential
type. Group: security- Specified by:
tokenCredential
in interfaceServiceBusEndpointBuilderFactory.ServiceBusEndpointConsumerBuilder
- Specified by:
tokenCredential
in 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 acom.azure.core.credential.TokenCredential
type. Group: security- Specified by:
tokenCredential
in interfaceServiceBusEndpointBuilderFactory.ServiceBusEndpointConsumerBuilder
- Specified by:
tokenCredential
in interfaceServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder
- Parameters:
tokenCredential
- the value to set- Returns:
- the dsl builder
-