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, 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.EventHubsEndpointBuilderFactory.EventHubsEndpointConsumerBuilder
blobAccessKey, blobAccountName, blobContainerName, blobStorageSharedKeyCredential, blobStorageSharedKeyCredential, checkpointBatchSize, checkpointBatchSize, checkpointBatchTimeout, checkpointBatchTimeout, checkpointStore, checkpointStore, consumerGroupName, eventPosition, eventPosition, prefetchCount, prefetchCountMethods inherited from interface org.apache.camel.builder.endpoint.dsl.EventHubsEndpointBuilderFactory.EventHubsEndpointProducerBuilder
partitionId, partitionKey, producerAsyncClient, producerAsyncClient
-
Method Details
-
advanced
- Specified by:
advancedin interfaceEventHubsEndpointBuilderFactory.EventHubsEndpointConsumerBuilder- Specified by:
advancedin 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.AmqpRetryOptionstype. Group: common- Specified by:
amqpRetryOptionsin interfaceEventHubsEndpointBuilderFactory.EventHubsEndpointConsumerBuilder- Specified by:
amqpRetryOptionsin 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.AmqpRetryOptionstype. Group: common- Specified by:
amqpRetryOptionsin interfaceEventHubsEndpointBuilderFactory.EventHubsEndpointConsumerBuilder- Specified by:
amqpRetryOptionsin 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.AmqpTransportTypetype. Default: AMQP Group: common- Specified by:
amqpTransportTypein interfaceEventHubsEndpointBuilderFactory.EventHubsEndpointConsumerBuilder- Specified by:
amqpTransportTypein 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.AmqpTransportTypetype. Default: AMQP Group: common- Specified by:
amqpTransportTypein interfaceEventHubsEndpointBuilderFactory.EventHubsEndpointConsumerBuilder- Specified by:
amqpTransportTypein 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.Stringtype. Group: security- Specified by:
connectionStringin interfaceEventHubsEndpointBuilderFactory.EventHubsEndpointConsumerBuilder- Specified by:
connectionStringin 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.CredentialTypetype. Default: CONNECTION_STRING Group: security- Specified by:
credentialTypein interfaceEventHubsEndpointBuilderFactory.EventHubsEndpointConsumerBuilder- Specified by:
credentialTypein 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.CredentialTypetype. Default: CONNECTION_STRING Group: security- Specified by:
credentialTypein interfaceEventHubsEndpointBuilderFactory.EventHubsEndpointConsumerBuilder- Specified by:
credentialTypein 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.TokenCredentialtype. Group: security- Specified by:
tokenCredentialin interfaceEventHubsEndpointBuilderFactory.EventHubsEndpointConsumerBuilder- Specified by:
tokenCredentialin 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.TokenCredentialtype. Group: security- Specified by:
tokenCredentialin interfaceEventHubsEndpointBuilderFactory.EventHubsEndpointConsumerBuilder- Specified by:
tokenCredentialin interfaceEventHubsEndpointBuilderFactory.EventHubsEndpointProducerBuilder- Parameters:
tokenCredential- the value to set- Returns:
- the dsl builder
-