Interface ServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- All Known Subinterfaces:
ServiceBusEndpointBuilderFactory.ServiceBusEndpointBuilder
- Enclosing interface:
ServiceBusEndpointBuilderFactory
public static interface ServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder
extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint producers 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.binary
(boolean binary) Set binary mode.Set binary mode.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.producerOperation
(String producerOperation) Sets the desired operation to be used in the producer.producerOperation
(org.apache.camel.component.azure.servicebus.ServiceBusProducerOperationDefinition producerOperation) Sets the desired operation to be used in the producer.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.scheduledEnqueueTime
(String scheduledEnqueueTime) Sets OffsetDateTime at which the message should appear in the Service Bus queue or topic.scheduledEnqueueTime
(OffsetDateTime scheduledEnqueueTime) Sets OffsetDateTime at which the message should appear in the Service Bus queue or topic.senderClient
(com.azure.messaging.servicebus.ServiceBusSenderClient senderClient) Sets senderClient to be used in the producer.senderClient
(String senderClient) Sets senderClient to be used in the producer.serviceBusTransactionContext
(com.azure.messaging.servicebus.ServiceBusTransactionContext serviceBusTransactionContext) Represents transaction in service.serviceBusTransactionContext
(String serviceBusTransactionContext) Represents transaction in service.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.Session ID for session-enabled queues or topics.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.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
Methods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolve
-
Method Details
-
advanced
-
amqpRetryOptions
default ServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder 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- Parameters:
amqpRetryOptions
- the value to set- Returns:
- the dsl builder
-
amqpRetryOptions
default ServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder 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- Parameters:
amqpRetryOptions
- the value to set- Returns:
- the dsl builder
-
amqpTransportType
default ServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder 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- Parameters:
amqpTransportType
- the value to set- Returns:
- the dsl builder
-
amqpTransportType
default ServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder 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- Parameters:
amqpTransportType
- the value to set- Returns:
- the dsl builder
-
clientOptions
default ServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder 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- Parameters:
clientOptions
- the value to set- Returns:
- the dsl builder
-
clientOptions
default ServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder 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- Parameters:
clientOptions
- the value to set- Returns:
- the dsl builder
-
headerFilterStrategy
default ServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder 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- Parameters:
headerFilterStrategy
- the value to set- Returns:
- the dsl builder
-
headerFilterStrategy
default ServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder 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- Parameters:
headerFilterStrategy
- the value to set- Returns:
- the dsl builder
-
proxyOptions
default ServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder 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- Parameters:
proxyOptions
- the value to set- Returns:
- the dsl builder
-
proxyOptions
default ServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder 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- Parameters:
proxyOptions
- the value to set- Returns:
- the dsl builder
-
serviceBusType
default ServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder 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- Parameters:
serviceBusType
- the value to set- Returns:
- the dsl builder
-
serviceBusType
default ServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder 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- Parameters:
serviceBusType
- the value to set- Returns:
- the dsl builder
-
binary
Set binary mode. If true, message body will be sent as byte. By default, it is false. The option is a:boolean
type. Default: false Group: producer- Parameters:
binary
- the value to set- Returns:
- the dsl builder
-
binary
Set binary mode. If true, message body will be sent as byte. By default, it is false. The option will be converted to aboolean
type. Default: false Group: producer- Parameters:
binary
- the value to set- Returns:
- the dsl builder
-
producerOperation
default ServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder producerOperation(org.apache.camel.component.azure.servicebus.ServiceBusProducerOperationDefinition producerOperation) Sets the desired operation to be used in the producer. The option is a:org.apache.camel.component.azure.servicebus.ServiceBusProducerOperationDefinition
type. Default: sendMessages Group: producer- Parameters:
producerOperation
- the value to set- Returns:
- the dsl builder
-
producerOperation
default ServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder producerOperation(String producerOperation) Sets the desired operation to be used in the producer. The option will be converted to aorg.apache.camel.component.azure.servicebus.ServiceBusProducerOperationDefinition
type. Default: sendMessages Group: producer- Parameters:
producerOperation
- the value to set- Returns:
- the dsl builder
-
scheduledEnqueueTime
default ServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder scheduledEnqueueTime(OffsetDateTime scheduledEnqueueTime) Sets OffsetDateTime at which the message should appear in the Service Bus queue or topic. The option is a:java.time.OffsetDateTime
type. Group: producer- Parameters:
scheduledEnqueueTime
- the value to set- Returns:
- the dsl builder
-
scheduledEnqueueTime
default ServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder scheduledEnqueueTime(String scheduledEnqueueTime) Sets OffsetDateTime at which the message should appear in the Service Bus queue or topic. The option will be converted to ajava.time.OffsetDateTime
type. Group: producer- Parameters:
scheduledEnqueueTime
- the value to set- Returns:
- the dsl builder
-
senderClient
default ServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder senderClient(com.azure.messaging.servicebus.ServiceBusSenderClient senderClient) Sets senderClient to be used in the producer. The option is a:com.azure.messaging.servicebus.ServiceBusSenderClient
type. Group: producer- Parameters:
senderClient
- the value to set- Returns:
- the dsl builder
-
senderClient
default ServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder senderClient(String senderClient) Sets senderClient to be used in the producer. The option will be converted to acom.azure.messaging.servicebus.ServiceBusSenderClient
type. Group: producer- Parameters:
senderClient
- the value to set- Returns:
- the dsl builder
-
serviceBusTransactionContext
default ServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder serviceBusTransactionContext(com.azure.messaging.servicebus.ServiceBusTransactionContext serviceBusTransactionContext) Represents transaction in service. This object just contains transaction id. The option is a:com.azure.messaging.servicebus.ServiceBusTransactionContext
type. Group: producer- Parameters:
serviceBusTransactionContext
- the value to set- Returns:
- the dsl builder
-
serviceBusTransactionContext
default ServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder serviceBusTransactionContext(String serviceBusTransactionContext) Represents transaction in service. This object just contains transaction id. The option will be converted to acom.azure.messaging.servicebus.ServiceBusTransactionContext
type. Group: producer- Parameters:
serviceBusTransactionContext
- the value to set- Returns:
- the dsl builder
-
sessionId
default ServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder sessionId(String sessionId) Session ID for session-enabled queues or topics. The option is a:java.lang.String
type. Group: producer- Parameters:
sessionId
- the value to set- Returns:
- the dsl builder
-
connectionString
default ServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder 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- Parameters:
connectionString
- the value to set- Returns:
- the dsl builder
-
credentialType
default ServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder 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- Parameters:
credentialType
- the value to set- Returns:
- the dsl builder
-
credentialType
default ServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder 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- Parameters:
credentialType
- the value to set- Returns:
- the dsl builder
-
fullyQualifiedNamespace
default ServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder fullyQualifiedNamespace(String fullyQualifiedNamespace) Fully Qualified Namespace of the service bus. The option is a:java.lang.String
type. Group: security- Parameters:
fullyQualifiedNamespace
- the value to set- Returns:
- the dsl builder
-
tokenCredential
default ServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder 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- Parameters:
tokenCredential
- the value to set- Returns:
- the dsl builder
-
tokenCredential
default ServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder tokenCredential(String tokenCredential) A TokenCredential for Azure AD authentication. The option will be converted to acom.azure.core.credential.TokenCredential
type. Group: security- Parameters:
tokenCredential
- the value to set- Returns:
- the dsl builder
-