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.AdvancedEventHubsEndpointBuilderadvanced()default EventHubsEndpointBuilderFactory.EventHubsEndpointBuilderamqpRetryOptions(Object amqpRetryOptions)Sets the retry policy for EventHubAsyncClient.default EventHubsEndpointBuilderFactory.EventHubsEndpointBuilderamqpRetryOptions(String amqpRetryOptions)Sets the retry policy for EventHubAsyncClient.default EventHubsEndpointBuilderFactory.EventHubsEndpointBuilderamqpTransportType(String amqpTransportType)Sets the transport type by which all the communication with Azure Event Hubs occurs.default EventHubsEndpointBuilderFactory.EventHubsEndpointBuilderamqpTransportType(EventHubsEndpointBuilderFactory.AmqpTransportType amqpTransportType)Sets the transport type by which all the communication with Azure Event Hubs occurs.default EventHubsEndpointBuilderFactory.EventHubsEndpointBuilderconnectionString(String connectionString)Instead of supplying namespace, sharedAccessKey, sharedAccessName ...default EventHubsEndpointBuilderFactory.EventHubsEndpointBuildersharedAccessKey(String sharedAccessKey)The generated value for the SharedAccessName.default EventHubsEndpointBuilderFactory.EventHubsEndpointBuildersharedAccessName(String sharedAccessName)The name you chose for your EventHubs SAS keys.-
Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getUri
-
Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, 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:
advancedin interfaceEventHubsEndpointBuilderFactory.EventHubsEndpointConsumerBuilder- Specified by:
advancedin 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: <code>com.azure.core.amqp.AmqpRetryOptions</code> type. 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 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:
amqpRetryOptionsin interfaceEventHubsEndpointBuilderFactory.EventHubsEndpointConsumerBuilder- Specified by:
amqpRetryOptionsin interfaceEventHubsEndpointBuilderFactory.EventHubsEndpointProducerBuilder- Parameters:
amqpRetryOptions- the value to set- Returns:
- the dsl builder
-
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: <code>com.azure.core.amqp.AmqpTransportType</code> type. 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. 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:
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 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:
connectionStringin interfaceEventHubsEndpointBuilderFactory.EventHubsEndpointConsumerBuilder- Specified by:
connectionStringin 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:
sharedAccessKeyin interfaceEventHubsEndpointBuilderFactory.EventHubsEndpointConsumerBuilder- Specified by:
sharedAccessKeyin 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:
sharedAccessNamein interfaceEventHubsEndpointBuilderFactory.EventHubsEndpointConsumerBuilder- Specified by:
sharedAccessNamein interfaceEventHubsEndpointBuilderFactory.EventHubsEndpointProducerBuilder- Parameters:
sharedAccessName- the value to set- Returns:
- the dsl builder
-
-