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
All Methods Instance Methods Default Methods Modifier and Type Method Description default ServiceBusEndpointBuilderFactory.AdvancedServiceBusEndpointProducerBuilder
advanced()
default ServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder
amqpRetryOptions(com.azure.core.amqp.AmqpRetryOptions amqpRetryOptions)
Sets the retry options for Service Bus clients.default ServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder
amqpRetryOptions(String amqpRetryOptions)
Sets the retry options for Service Bus clients.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 ServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder
amqpTransportType(String amqpTransportType)
Sets the transport type by which all the communication with Azure Service Bus occurs.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.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.default ServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder
connectionString(String connectionString)
Sets the connection string for a Service Bus namespace or a specific Service Bus resource.default ServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder
fullyQualifiedNamespace(String fullyQualifiedNamespace)
Fully Qualified Namespace of the service bus.default ServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder
producerOperation(String producerOperation)
Sets the desired operation to be used in the producer.default ServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder
producerOperation(org.apache.camel.component.azure.servicebus.ServiceBusProducerOperationDefinition producerOperation)
Sets the desired operation to be used in the producer.default ServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder
proxyOptions(com.azure.core.amqp.ProxyOptions proxyOptions)
Sets the proxy configuration to use for ServiceBusSenderAsyncClient.default ServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder
proxyOptions(String proxyOptions)
Sets the proxy configuration to use for ServiceBusSenderAsyncClient.default ServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder
scheduledEnqueueTime(String scheduledEnqueueTime)
Sets OffsetDateTime at which the message should appear in the Service Bus queue or topic.default ServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder
scheduledEnqueueTime(OffsetDateTime scheduledEnqueueTime)
Sets OffsetDateTime at which the message should appear in the Service Bus queue or topic.default ServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder
senderAsyncClient(com.azure.messaging.servicebus.ServiceBusSenderAsyncClient senderAsyncClient)
Sets SenderAsyncClient to be used in the producer.default ServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder
senderAsyncClient(String senderAsyncClient)
Sets SenderAsyncClient to be used in the producer.default ServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder
serviceBusTransactionContext(com.azure.messaging.servicebus.ServiceBusTransactionContext serviceBusTransactionContext)
Represents transaction in service.default ServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder
serviceBusTransactionContext(String serviceBusTransactionContext)
Represents transaction in service.default ServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder
serviceBusType(String serviceBusType)
The service bus type of connection to execute.default ServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder
serviceBusType(org.apache.camel.component.azure.servicebus.ServiceBusType serviceBusType)
The service bus type of connection to execute.default ServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder
tokenCredential(com.azure.core.credential.TokenCredential tokenCredential)
A TokenCredential for Azure AD authentication, implemented in com.azure.identity.default ServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder
tokenCredential(String tokenCredential)
A TokenCredential for Azure AD authentication, implemented in com.azure.identity.
-
-
-
Method Detail
-
advanced
default ServiceBusEndpointBuilderFactory.AdvancedServiceBusEndpointProducerBuilder 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: <code>com.azure.core.amqp.AmqpRetryOptions</code> 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 a <code>com.azure.core.amqp.AmqpRetryOptions</code> 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 AmqpTransportType#AMQP. The option is a: <code>com.azure.core.amqp.AmqpTransportType</code> 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 AmqpTransportType#AMQP. The option will be converted to a <code>com.azure.core.amqp.AmqpTransportType</code> 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. Refer to the ClientOptions documentation for more information. The option is a: <code>com.azure.core.util.ClientOptions</code> 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. Refer to the ClientOptions documentation for more information. The option will be converted to a <code>com.azure.core.util.ClientOptions</code> type. Group: common- Parameters:
clientOptions
- 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 ServiceBusSenderAsyncClient. When a proxy is configured, AmqpTransportType#AMQP_WEB_SOCKETS must be used for the transport type. The option is a: <code>com.azure.core.amqp.ProxyOptions</code> 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 ServiceBusSenderAsyncClient. When a proxy is configured, AmqpTransportType#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- 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: <code>org.apache.camel.component.azure.servicebus.ServiceBusType</code> 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 a <code>org.apache.camel.component.azure.servicebus.ServiceBusType</code> type. Required: true Default: queue Group: common- Parameters:
serviceBusType
- 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: <code>org.apache.camel.component.azure.servicebus.ServiceBusProducerOperationDefinition</code> 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 a <code>org.apache.camel.component.azure.servicebus.ServiceBusProducerOperationDefinition</code> 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: <code>java.time.OffsetDateTime</code> 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 a <code>java.time.OffsetDateTime</code> type. Group: producer- Parameters:
scheduledEnqueueTime
- the value to set- Returns:
- the dsl builder
-
senderAsyncClient
default ServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder senderAsyncClient(com.azure.messaging.servicebus.ServiceBusSenderAsyncClient senderAsyncClient)
Sets SenderAsyncClient to be used in the producer. The option is a: <code>com.azure.messaging.servicebus.ServiceBusSenderAsyncClient</code> type. Group: producer- Parameters:
senderAsyncClient
- the value to set- Returns:
- the dsl builder
-
senderAsyncClient
default ServiceBusEndpointBuilderFactory.ServiceBusEndpointProducerBuilder senderAsyncClient(String senderAsyncClient)
Sets SenderAsyncClient to be used in the producer. The option will be converted to a <code>com.azure.messaging.servicebus.ServiceBusSenderAsyncClient</code> type. Group: producer- Parameters:
senderAsyncClient
- 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: <code>com.azure.messaging.servicebus.ServiceBusTransactionContext</code> 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 a <code>com.azure.messaging.servicebus.ServiceBusTransactionContext</code> type. Group: producer- Parameters:
serviceBusTransactionContext
- 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: <code>java.lang.String</code> type. Group: security- Parameters:
connectionString
- 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: <code>java.lang.String</code> 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, implemented in com.azure.identity. The option is a: <code>com.azure.core.credential.TokenCredential</code> 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, implemented in com.azure.identity. The option will be converted to a <code>com.azure.core.credential.TokenCredential</code> type. Group: security- Parameters:
tokenCredential
- the value to set- Returns:
- the dsl builder
-
-