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
All Methods Instance Methods Default Methods Modifier and Type Method Description default EventHubsEndpointBuilderFactory.AdvancedEventHubsEndpointBuilder
advanced()
default EventHubsEndpointBuilderFactory.EventHubsEndpointBuilder
amqpRetryOptions(com.azure.core.amqp.AmqpRetryOptions amqpRetryOptions)
Sets the retry policy for EventHubAsyncClient.default EventHubsEndpointBuilderFactory.EventHubsEndpointBuilder
amqpRetryOptions(String amqpRetryOptions)
Sets the retry policy for EventHubAsyncClient.default EventHubsEndpointBuilderFactory.EventHubsEndpointBuilder
amqpTransportType(com.azure.core.amqp.AmqpTransportType amqpTransportType)
Sets the transport type by which all the communication with Azure Event Hubs occurs.default EventHubsEndpointBuilderFactory.EventHubsEndpointBuilder
amqpTransportType(String amqpTransportType)
Sets the transport type by which all the communication with Azure Event Hubs occurs.default EventHubsEndpointBuilderFactory.EventHubsEndpointBuilder
connectionString(String connectionString)
Instead of supplying namespace, sharedAccessKey, sharedAccessName ...default EventHubsEndpointBuilderFactory.EventHubsEndpointBuilder
sharedAccessKey(String sharedAccessKey)
The generated value for the SharedAccessName.default EventHubsEndpointBuilderFactory.EventHubsEndpointBuilder
sharedAccessName(String sharedAccessName)
The name you chose for your EventHubs SAS keys.default EventHubsEndpointBuilderFactory.EventHubsEndpointBuilder
tokenCredential(com.azure.core.credential.TokenCredential tokenCredential)
Still another way of authentication (beside supplying namespace, sharedAccessKey, sharedAccessName or connection string) is through Azure-AD authentication using an implementation instance of TokenCredential.default EventHubsEndpointBuilderFactory.EventHubsEndpointBuilder
tokenCredential(String tokenCredential)
Still another way of authentication (beside supplying namespace, sharedAccessKey, sharedAccessName or connection string) is through Azure-AD authentication using an implementation instance of TokenCredential.-
Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
-
Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
-
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 Detail
-
advanced
default EventHubsEndpointBuilderFactory.AdvancedEventHubsEndpointBuilder 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 EventHubAsyncClient. If not specified, the default retry options are used. The option is a: <code>com.azure.core.amqp.AmqpRetryOptions</code> 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 EventHubAsyncClient. 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- 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. Default value is AmqpTransportType#AMQP. The option is a: <code>com.azure.core.amqp.AmqpTransportType</code> 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. Default value is AmqpTransportType#AMQP. The option will be converted to a <code>com.azure.core.amqp.AmqpTransportType</code> 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 just supply the connection string for your eventHub. The connection string for EventHubs already include all the necessary information to connection to your EventHub. To learn on 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: <code>java.lang.String</code> 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
-
sharedAccessKey
default EventHubsEndpointBuilderFactory.EventHubsEndpointBuilder sharedAccessKey(String sharedAccessKey)
The generated value for the SharedAccessName. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
sharedAccessKey
in interfaceEventHubsEndpointBuilderFactory.EventHubsEndpointConsumerBuilder
- Specified by:
sharedAccessKey
in interfaceEventHubsEndpointBuilderFactory.EventHubsEndpointProducerBuilder
- Parameters:
sharedAccessKey
- the value to set- Returns:
- the dsl builder
-
sharedAccessName
default EventHubsEndpointBuilderFactory.EventHubsEndpointBuilder sharedAccessName(String sharedAccessName)
The name you chose for your EventHubs SAS keys. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
sharedAccessName
in interfaceEventHubsEndpointBuilderFactory.EventHubsEndpointConsumerBuilder
- Specified by:
sharedAccessName
in interfaceEventHubsEndpointBuilderFactory.EventHubsEndpointProducerBuilder
- Parameters:
sharedAccessName
- the value to set- Returns:
- the dsl builder
-
tokenCredential
default EventHubsEndpointBuilderFactory.EventHubsEndpointBuilder tokenCredential(com.azure.core.credential.TokenCredential tokenCredential)
Still another way of authentication (beside supplying namespace, sharedAccessKey, sharedAccessName or connection string) is through Azure-AD authentication using an implementation instance of TokenCredential. The option is a: <code>com.azure.core.credential.TokenCredential</code> 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)
Still another way of authentication (beside supplying namespace, sharedAccessKey, sharedAccessName or connection string) is through Azure-AD authentication using an implementation instance of TokenCredential. The option will be converted to a <code>com.azure.core.credential.TokenCredential</code> 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
-
-