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(Object amqpRetryOptions)
Sets the retry policy for EventHubAsyncClient.default EventHubsEndpointBuilderFactory.EventHubsEndpointBuilder
amqpRetryOptions(String amqpRetryOptions)
Sets the retry policy for EventHubAsyncClient.default EventHubsEndpointBuilderFactory.EventHubsEndpointBuilder
amqpTransportType(String amqpTransportType)
Sets the transport type by which all the communication with Azure Event Hubs occurs.default EventHubsEndpointBuilderFactory.EventHubsEndpointBuilder
amqpTransportType(EventHubsEndpointBuilderFactory.AmqpTransportType amqpTransportType)
Sets the transport type by which all the communication with Azure Event Hubs occurs.default EventHubsEndpointBuilderFactory.EventHubsEndpointBuilder
autoDiscoverClient(boolean autoDiscoverClient)
Setting the autoDiscoverClient mechanism, if true, the component will look for a client instance in the registry automatically otherwise it will skip that checking.default EventHubsEndpointBuilderFactory.EventHubsEndpointBuilder
autoDiscoverClient(String autoDiscoverClient)
Setting the autoDiscoverClient mechanism, if true, the component will look for a client instance in the registry automatically otherwise it will skip that checking.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.-
Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, getUri
-
Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, expr, getUri
-
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.EventHubsEndpointBuilderFactory.EventHubsEndpointConsumerBuilder
blobAccessKey, blobAccountName, blobContainerName, blobStorageSharedKeyCredential, blobStorageSharedKeyCredential, bridgeErrorHandler, bridgeErrorHandler, checkpointStore, checkpointStore, consumerGroupName, eventPosition, eventPosition, prefetchCount, prefetchCount
-
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.EventHubsEndpointBuilderFactory.EventHubsEndpointProducerBuilder
lazyStartProducer, lazyStartProducer, 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(Object amqpRetryOptions)
Sets the retry policy for EventHubAsyncClient. 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
-
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 acom.azure.core.amqp.AmqpRetryOptions
type. Group: common- Specified by:
amqpRetryOptions
in interfaceEventHubsEndpointBuilderFactory.EventHubsEndpointConsumerBuilder
- Specified by:
amqpRetryOptions
in interfaceEventHubsEndpointBuilderFactory.EventHubsEndpointProducerBuilder
-
amqpTransportType
default EventHubsEndpointBuilderFactory.EventHubsEndpointBuilder amqpTransportType(EventHubsEndpointBuilderFactory.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:com.azure.core.amqp.AmqpTransportType
type. Default: AMQP Group: common- Specified by:
amqpTransportType
in interfaceEventHubsEndpointBuilderFactory.EventHubsEndpointConsumerBuilder
- Specified by:
amqpTransportType
in interfaceEventHubsEndpointBuilderFactory.EventHubsEndpointProducerBuilder
-
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 acom.azure.core.amqp.AmqpTransportType
type. Default: AMQP Group: common- Specified by:
amqpTransportType
in interfaceEventHubsEndpointBuilderFactory.EventHubsEndpointConsumerBuilder
- Specified by:
amqpTransportType
in interfaceEventHubsEndpointBuilderFactory.EventHubsEndpointProducerBuilder
-
autoDiscoverClient
default EventHubsEndpointBuilderFactory.EventHubsEndpointBuilder autoDiscoverClient(boolean autoDiscoverClient)
Setting the autoDiscoverClient mechanism, if true, the component will look for a client instance in the registry automatically otherwise it will skip that checking. The option is a:boolean
type. Default: true Group: common- Specified by:
autoDiscoverClient
in interfaceEventHubsEndpointBuilderFactory.EventHubsEndpointConsumerBuilder
- Specified by:
autoDiscoverClient
in interfaceEventHubsEndpointBuilderFactory.EventHubsEndpointProducerBuilder
-
autoDiscoverClient
default EventHubsEndpointBuilderFactory.EventHubsEndpointBuilder autoDiscoverClient(String autoDiscoverClient)
Setting the autoDiscoverClient mechanism, if true, the component will look for a client instance in the registry automatically otherwise it will skip that checking. The option will be converted to aboolean
type. Default: true Group: common- Specified by:
autoDiscoverClient
in interfaceEventHubsEndpointBuilderFactory.EventHubsEndpointConsumerBuilder
- Specified by:
autoDiscoverClient
in interfaceEventHubsEndpointBuilderFactory.EventHubsEndpointProducerBuilder
-
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:java.lang.String
type. Group: security- Specified by:
connectionString
in interfaceEventHubsEndpointBuilderFactory.EventHubsEndpointConsumerBuilder
- Specified by:
connectionString
in interfaceEventHubsEndpointBuilderFactory.EventHubsEndpointProducerBuilder
-
sharedAccessKey
default EventHubsEndpointBuilderFactory.EventHubsEndpointBuilder sharedAccessKey(String sharedAccessKey)
The generated value for the SharedAccessName. The option is a:java.lang.String
type. Group: security- Specified by:
sharedAccessKey
in interfaceEventHubsEndpointBuilderFactory.EventHubsEndpointConsumerBuilder
- Specified by:
sharedAccessKey
in interfaceEventHubsEndpointBuilderFactory.EventHubsEndpointProducerBuilder
-
sharedAccessName
default EventHubsEndpointBuilderFactory.EventHubsEndpointBuilder sharedAccessName(String sharedAccessName)
The name you chose for your EventHubs SAS keys. The option is a:java.lang.String
type. Group: security- Specified by:
sharedAccessName
in interfaceEventHubsEndpointBuilderFactory.EventHubsEndpointConsumerBuilder
- Specified by:
sharedAccessName
in interfaceEventHubsEndpointBuilderFactory.EventHubsEndpointProducerBuilder
-
-