Interface EventHubsEndpointBuilderFactory.EventHubsEndpointBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
,org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
,EventHubsEndpointBuilderFactory.EventHubsEndpointConsumerBuilder
,EventHubsEndpointBuilderFactory.EventHubsEndpointProducerBuilder
- Enclosing interface:
EventHubsEndpointBuilderFactory
public static interface EventHubsEndpointBuilderFactory.EventHubsEndpointBuilder
extends EventHubsEndpointBuilderFactory.EventHubsEndpointConsumerBuilder, EventHubsEndpointBuilderFactory.EventHubsEndpointProducerBuilder
Builder for endpoint for the Azure Event Hubs component.
-
Method Summary
Modifier and TypeMethodDescriptionadvanced()
amqpRetryOptions
(com.azure.core.amqp.AmqpRetryOptions amqpRetryOptions) Sets the retry policy for EventHubProducerAsyncClient.amqpRetryOptions
(String amqpRetryOptions) Sets the retry policy for EventHubProducerAsyncClient.amqpTransportType
(com.azure.core.amqp.AmqpTransportType amqpTransportType) Sets the transport type by which all the communication with Azure Event Hubs occurs.amqpTransportType
(String amqpTransportType) Sets the transport type by which all the communication with Azure Event Hubs occurs.connectionString
(String connectionString) Instead of supplying namespace, sharedAccessKey, sharedAccessName, etc. you can supply the connection string for your eventHub.credentialType
(String credentialType) Determines the credential strategy to adopt.credentialType
(org.apache.camel.component.azure.eventhubs.CredentialType credentialType) Determines the credential strategy to adopt.sharedAccessKey
(String sharedAccessKey) The generated value for the SharedAccessName.sharedAccessName
(String sharedAccessName) The name you chose for your EventHubs SAS keys.tokenCredential
(com.azure.core.credential.TokenCredential tokenCredential) Provide custom authentication credentials using an implementation of TokenCredential.tokenCredential
(String tokenCredential) Provide custom authentication credentials using an implementation of TokenCredential.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.EventHubsEndpointBuilderFactory.EventHubsEndpointConsumerBuilder
blobAccessKey, blobAccountName, blobContainerName, blobStorageSharedKeyCredential, blobStorageSharedKeyCredential, checkpointBatchSize, checkpointBatchSize, checkpointBatchTimeout, checkpointBatchTimeout, checkpointStore, checkpointStore, consumerGroupName, eventPosition, eventPosition, prefetchCount, prefetchCount
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.EventHubsEndpointBuilderFactory.EventHubsEndpointProducerBuilder
partitionId, partitionKey, producerAsyncClient, producerAsyncClient
-
Method Details
-
advanced
- Specified by:
advanced
in interfaceEventHubsEndpointBuilderFactory.EventHubsEndpointConsumerBuilder
- Specified by:
advanced
in interfaceEventHubsEndpointBuilderFactory.EventHubsEndpointProducerBuilder
-
amqpRetryOptions
default EventHubsEndpointBuilderFactory.EventHubsEndpointBuilder amqpRetryOptions(com.azure.core.amqp.AmqpRetryOptions amqpRetryOptions) Sets the retry policy for EventHubProducerAsyncClient. 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 interfaceEventHubsEndpointBuilderFactory.EventHubsEndpointConsumerBuilder
- Specified by:
amqpRetryOptions
in interfaceEventHubsEndpointBuilderFactory.EventHubsEndpointProducerBuilder
- Parameters:
amqpRetryOptions
- the value to set- Returns:
- the dsl builder
-
amqpRetryOptions
default EventHubsEndpointBuilderFactory.EventHubsEndpointBuilder amqpRetryOptions(String amqpRetryOptions) Sets the retry policy for EventHubProducerAsyncClient. 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 interfaceEventHubsEndpointBuilderFactory.EventHubsEndpointConsumerBuilder
- Specified by:
amqpRetryOptions
in interfaceEventHubsEndpointBuilderFactory.EventHubsEndpointProducerBuilder
- Parameters:
amqpRetryOptions
- the value to set- Returns:
- the dsl builder
-
amqpTransportType
default EventHubsEndpointBuilderFactory.EventHubsEndpointBuilder amqpTransportType(com.azure.core.amqp.AmqpTransportType amqpTransportType) Sets the transport type by which all the communication with Azure Event Hubs occurs. The option is a:com.azure.core.amqp.AmqpTransportType
type. Default: AMQP Group: common- Specified by:
amqpTransportType
in interfaceEventHubsEndpointBuilderFactory.EventHubsEndpointConsumerBuilder
- Specified by:
amqpTransportType
in interfaceEventHubsEndpointBuilderFactory.EventHubsEndpointProducerBuilder
- Parameters:
amqpTransportType
- the value to set- Returns:
- the dsl builder
-
amqpTransportType
default EventHubsEndpointBuilderFactory.EventHubsEndpointBuilder amqpTransportType(String amqpTransportType) Sets the transport type by which all the communication with Azure Event Hubs occurs. The option will be converted to acom.azure.core.amqp.AmqpTransportType
type. Default: AMQP Group: common- Specified by:
amqpTransportType
in interfaceEventHubsEndpointBuilderFactory.EventHubsEndpointConsumerBuilder
- Specified by:
amqpTransportType
in interfaceEventHubsEndpointBuilderFactory.EventHubsEndpointProducerBuilder
- Parameters:
amqpTransportType
- the value to set- Returns:
- the dsl builder
-
connectionString
default EventHubsEndpointBuilderFactory.EventHubsEndpointBuilder connectionString(String connectionString) Instead of supplying namespace, sharedAccessKey, sharedAccessName, etc. you can supply the connection string for your eventHub. The connection string for EventHubs already includes all the necessary information to connect to your EventHub. To learn how to generate the connection string, take a look at this documentation: https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-get-connection-string. The option is a:java.lang.String
type. Group: security- Specified by:
connectionString
in interfaceEventHubsEndpointBuilderFactory.EventHubsEndpointConsumerBuilder
- Specified by:
connectionString
in interfaceEventHubsEndpointBuilderFactory.EventHubsEndpointProducerBuilder
- Parameters:
connectionString
- the value to set- Returns:
- the dsl builder
-
credentialType
default EventHubsEndpointBuilderFactory.EventHubsEndpointBuilder credentialType(org.apache.camel.component.azure.eventhubs.CredentialType credentialType) Determines the credential strategy to adopt. The option is a:org.apache.camel.component.azure.eventhubs.CredentialType
type. Default: CONNECTION_STRING Group: security- Specified by:
credentialType
in interfaceEventHubsEndpointBuilderFactory.EventHubsEndpointConsumerBuilder
- Specified by:
credentialType
in interfaceEventHubsEndpointBuilderFactory.EventHubsEndpointProducerBuilder
- Parameters:
credentialType
- the value to set- Returns:
- the dsl builder
-
credentialType
default EventHubsEndpointBuilderFactory.EventHubsEndpointBuilder credentialType(String credentialType) Determines the credential strategy to adopt. The option will be converted to aorg.apache.camel.component.azure.eventhubs.CredentialType
type. Default: CONNECTION_STRING Group: security- Specified by:
credentialType
in interfaceEventHubsEndpointBuilderFactory.EventHubsEndpointConsumerBuilder
- Specified by:
credentialType
in interfaceEventHubsEndpointBuilderFactory.EventHubsEndpointProducerBuilder
- Parameters:
credentialType
- the value to set- Returns:
- the dsl builder
-
tokenCredential
default EventHubsEndpointBuilderFactory.EventHubsEndpointBuilder tokenCredential(com.azure.core.credential.TokenCredential tokenCredential) Provide custom authentication credentials using an implementation of TokenCredential. The option is a:com.azure.core.credential.TokenCredential
type. Group: security- Specified by:
tokenCredential
in interfaceEventHubsEndpointBuilderFactory.EventHubsEndpointConsumerBuilder
- Specified by:
tokenCredential
in interfaceEventHubsEndpointBuilderFactory.EventHubsEndpointProducerBuilder
- Parameters:
tokenCredential
- the value to set- Returns:
- the dsl builder
-
tokenCredential
default EventHubsEndpointBuilderFactory.EventHubsEndpointBuilder tokenCredential(String tokenCredential) Provide custom authentication credentials using an implementation of TokenCredential. The option will be converted to acom.azure.core.credential.TokenCredential
type. Group: security- Specified by:
tokenCredential
in interfaceEventHubsEndpointBuilderFactory.EventHubsEndpointConsumerBuilder
- Specified by:
tokenCredential
in interfaceEventHubsEndpointBuilderFactory.EventHubsEndpointProducerBuilder
- Parameters:
tokenCredential
- the value to set- Returns:
- the dsl builder
-