Interface QueueEndpointBuilderFactory.QueueEndpointBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder,org.apache.camel.EndpointConsumerResolver,org.apache.camel.builder.EndpointProducerBuilder,org.apache.camel.EndpointProducerResolver,QueueEndpointBuilderFactory.QueueEndpointConsumerBuilder,QueueEndpointBuilderFactory.QueueEndpointProducerBuilder
- Enclosing interface:
- QueueEndpointBuilderFactory
public static interface QueueEndpointBuilderFactory.QueueEndpointBuilder extends QueueEndpointBuilderFactory.QueueEndpointConsumerBuilder, QueueEndpointBuilderFactory.QueueEndpointProducerBuilder
Builder for endpoint for the Azure Storage Queue Service component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default QueueEndpointBuilderFactory.QueueEndpointBuilderaccessKey(String accessKey)Access key for the associated azure account name to be used for authentication with azure queue services.default QueueEndpointBuilderFactory.AdvancedQueueEndpointBuilderadvanced()default QueueEndpointBuilderFactory.QueueEndpointBuildercredentials(com.azure.storage.common.StorageSharedKeyCredential credentials)StorageSharedKeyCredential can be injected to create the azure client, this holds the important authentication information.default QueueEndpointBuilderFactory.QueueEndpointBuildercredentials(String credentials)StorageSharedKeyCredential can be injected to create the azure client, this holds the important authentication information.default QueueEndpointBuilderFactory.QueueEndpointBuildermaxMessages(Integer maxMessages)Maximum number of messages to get, if there are less messages exist in the queue than requested all the messages will be returned.default QueueEndpointBuilderFactory.QueueEndpointBuildermaxMessages(String maxMessages)Maximum number of messages to get, if there are less messages exist in the queue than requested all the messages will be returned.default QueueEndpointBuilderFactory.QueueEndpointBuildermessageId(String messageId)The ID of the message to be deleted or updated.default QueueEndpointBuilderFactory.QueueEndpointBuilderpopReceipt(String popReceipt)Unique identifier that must match for the message to be deleted or updated.default QueueEndpointBuilderFactory.QueueEndpointBuilderserviceClient(com.azure.storage.queue.QueueServiceClient serviceClient)Service client to a storage account to interact with the queue service.default QueueEndpointBuilderFactory.QueueEndpointBuilderserviceClient(String serviceClient)Service client to a storage account to interact with the queue service.default QueueEndpointBuilderFactory.QueueEndpointBuildertimeout(String timeout)An optional timeout applied to the operation.default QueueEndpointBuilderFactory.QueueEndpointBuildertimeout(Duration timeout)An optional timeout applied to the operation.default QueueEndpointBuilderFactory.QueueEndpointBuildertimeToLive(String timeToLive)How long the message will stay alive in the queue.default QueueEndpointBuilderFactory.QueueEndpointBuildertimeToLive(Duration timeToLive)How long the message will stay alive in the queue.default QueueEndpointBuilderFactory.QueueEndpointBuildervisibilityTimeout(String visibilityTimeout)The timeout period for how long the message is invisible in the queue.default QueueEndpointBuilderFactory.QueueEndpointBuildervisibilityTimeout(Duration visibilityTimeout)The timeout period for how long the message is invisible in the queue.-
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.QueueEndpointBuilderFactory.QueueEndpointConsumerBuilder
backoffErrorThreshold, backoffErrorThreshold, backoffIdleThreshold, backoffIdleThreshold, backoffMultiplier, backoffMultiplier, bridgeErrorHandler, bridgeErrorHandler, delay, delay, greedy, greedy, initialDelay, initialDelay, repeatCount, repeatCount, runLoggingLevel, runLoggingLevel, scheduledExecutorService, scheduledExecutorService, scheduler, scheduler, schedulerProperties, schedulerProperties, sendEmptyMessageWhenIdle, sendEmptyMessageWhenIdle, startScheduler, startScheduler, timeUnit, timeUnit, useFixedDelay, useFixedDelay
-
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.QueueEndpointBuilderFactory.QueueEndpointProducerBuilder
createQueue, createQueue, lazyStartProducer, lazyStartProducer, operation, operation
-
-
-
-
Method Detail
-
advanced
default QueueEndpointBuilderFactory.AdvancedQueueEndpointBuilder advanced()
- Specified by:
advancedin interfaceQueueEndpointBuilderFactory.QueueEndpointConsumerBuilder- Specified by:
advancedin interfaceQueueEndpointBuilderFactory.QueueEndpointProducerBuilder
-
serviceClient
default QueueEndpointBuilderFactory.QueueEndpointBuilder serviceClient(com.azure.storage.queue.QueueServiceClient serviceClient)
Service client to a storage account to interact with the queue service. This client does not hold any state about a particular storage account but is instead a convenient way of sending off appropriate requests to the resource on the service. This client contains all the operations for interacting with a queue account in Azure Storage. Operations allowed by the client are creating, listing, and deleting queues, retrieving and updating properties of the account, and retrieving statistics of the account. The option is a: <code>com.azure.storage.queue.QueueServiceClient</code> type. Group: common- Specified by:
serviceClientin interfaceQueueEndpointBuilderFactory.QueueEndpointConsumerBuilder- Specified by:
serviceClientin interfaceQueueEndpointBuilderFactory.QueueEndpointProducerBuilder- Parameters:
serviceClient- the value to set- Returns:
- the dsl builder
-
serviceClient
default QueueEndpointBuilderFactory.QueueEndpointBuilder serviceClient(String serviceClient)
Service client to a storage account to interact with the queue service. This client does not hold any state about a particular storage account but is instead a convenient way of sending off appropriate requests to the resource on the service. This client contains all the operations for interacting with a queue account in Azure Storage. Operations allowed by the client are creating, listing, and deleting queues, retrieving and updating properties of the account, and retrieving statistics of the account. The option will be converted to a <code>com.azure.storage.queue.QueueServiceClient</code> type. Group: common- Specified by:
serviceClientin interfaceQueueEndpointBuilderFactory.QueueEndpointConsumerBuilder- Specified by:
serviceClientin interfaceQueueEndpointBuilderFactory.QueueEndpointProducerBuilder- Parameters:
serviceClient- the value to set- Returns:
- the dsl builder
-
maxMessages
default QueueEndpointBuilderFactory.QueueEndpointBuilder maxMessages(Integer maxMessages)
Maximum number of messages to get, if there are less messages exist in the queue than requested all the messages will be returned. If left empty only 1 message will be retrieved, the allowed range is 1 to 32 messages. The option is a: <code>java.lang.Integer</code> type. Default: 1 Group: queue- Specified by:
maxMessagesin interfaceQueueEndpointBuilderFactory.QueueEndpointConsumerBuilder- Specified by:
maxMessagesin interfaceQueueEndpointBuilderFactory.QueueEndpointProducerBuilder- Parameters:
maxMessages- the value to set- Returns:
- the dsl builder
-
maxMessages
default QueueEndpointBuilderFactory.QueueEndpointBuilder maxMessages(String maxMessages)
Maximum number of messages to get, if there are less messages exist in the queue than requested all the messages will be returned. If left empty only 1 message will be retrieved, the allowed range is 1 to 32 messages. The option will be converted to a <code>java.lang.Integer</code> type. Default: 1 Group: queue- Specified by:
maxMessagesin interfaceQueueEndpointBuilderFactory.QueueEndpointConsumerBuilder- Specified by:
maxMessagesin interfaceQueueEndpointBuilderFactory.QueueEndpointProducerBuilder- Parameters:
maxMessages- the value to set- Returns:
- the dsl builder
-
messageId
default QueueEndpointBuilderFactory.QueueEndpointBuilder messageId(String messageId)
The ID of the message to be deleted or updated. The option is a: <code>java.lang.String</code> type. Group: queue- Specified by:
messageIdin interfaceQueueEndpointBuilderFactory.QueueEndpointConsumerBuilder- Specified by:
messageIdin interfaceQueueEndpointBuilderFactory.QueueEndpointProducerBuilder- Parameters:
messageId- the value to set- Returns:
- the dsl builder
-
popReceipt
default QueueEndpointBuilderFactory.QueueEndpointBuilder popReceipt(String popReceipt)
Unique identifier that must match for the message to be deleted or updated. The option is a: <code>java.lang.String</code> type. Group: queue- Specified by:
popReceiptin interfaceQueueEndpointBuilderFactory.QueueEndpointConsumerBuilder- Specified by:
popReceiptin interfaceQueueEndpointBuilderFactory.QueueEndpointProducerBuilder- Parameters:
popReceipt- the value to set- Returns:
- the dsl builder
-
timeout
default QueueEndpointBuilderFactory.QueueEndpointBuilder timeout(Duration timeout)
An optional timeout applied to the operation. If a response is not returned before the timeout concludes a RuntimeException will be thrown. The option is a: <code>java.time.Duration</code> type. Group: queue- Specified by:
timeoutin interfaceQueueEndpointBuilderFactory.QueueEndpointConsumerBuilder- Specified by:
timeoutin interfaceQueueEndpointBuilderFactory.QueueEndpointProducerBuilder- Parameters:
timeout- the value to set- Returns:
- the dsl builder
-
timeout
default QueueEndpointBuilderFactory.QueueEndpointBuilder timeout(String timeout)
An optional timeout applied to the operation. If a response is not returned before the timeout concludes a RuntimeException will be thrown. The option will be converted to a <code>java.time.Duration</code> type. Group: queue- Specified by:
timeoutin interfaceQueueEndpointBuilderFactory.QueueEndpointConsumerBuilder- Specified by:
timeoutin interfaceQueueEndpointBuilderFactory.QueueEndpointProducerBuilder- Parameters:
timeout- the value to set- Returns:
- the dsl builder
-
timeToLive
default QueueEndpointBuilderFactory.QueueEndpointBuilder timeToLive(Duration timeToLive)
How long the message will stay alive in the queue. If unset the value will default to 7 days, if -1 is passed the message will not expire. The time to live must be -1 or any positive number. The format should be in this form: PnDTnHnMn.nS., e.g: PT20.345S -- parses as 20.345 seconds, P2D -- parses as 2 days However, in case you are using EndpointDsl/ComponentDsl, you can do something like Duration.ofSeconds() since these Java APIs are typesafe. The option is a: <code>java.time.Duration</code> type. Group: queue- Specified by:
timeToLivein interfaceQueueEndpointBuilderFactory.QueueEndpointConsumerBuilder- Specified by:
timeToLivein interfaceQueueEndpointBuilderFactory.QueueEndpointProducerBuilder- Parameters:
timeToLive- the value to set- Returns:
- the dsl builder
-
timeToLive
default QueueEndpointBuilderFactory.QueueEndpointBuilder timeToLive(String timeToLive)
How long the message will stay alive in the queue. If unset the value will default to 7 days, if -1 is passed the message will not expire. The time to live must be -1 or any positive number. The format should be in this form: PnDTnHnMn.nS., e.g: PT20.345S -- parses as 20.345 seconds, P2D -- parses as 2 days However, in case you are using EndpointDsl/ComponentDsl, you can do something like Duration.ofSeconds() since these Java APIs are typesafe. The option will be converted to a <code>java.time.Duration</code> type. Group: queue- Specified by:
timeToLivein interfaceQueueEndpointBuilderFactory.QueueEndpointConsumerBuilder- Specified by:
timeToLivein interfaceQueueEndpointBuilderFactory.QueueEndpointProducerBuilder- Parameters:
timeToLive- the value to set- Returns:
- the dsl builder
-
visibilityTimeout
default QueueEndpointBuilderFactory.QueueEndpointBuilder visibilityTimeout(Duration visibilityTimeout)
The timeout period for how long the message is invisible in the queue. The timeout must be between 1 seconds and 7 days. The format should be in this form: PnDTnHnMn.nS., e.g: PT20.345S -- parses as 20.345 seconds, P2D -- parses as 2 days However, in case you are using EndpointDsl/ComponentDsl, you can do something like Duration.ofSeconds() since these Java APIs are typesafe. The option is a: <code>java.time.Duration</code> type. Group: queue- Specified by:
visibilityTimeoutin interfaceQueueEndpointBuilderFactory.QueueEndpointConsumerBuilder- Specified by:
visibilityTimeoutin interfaceQueueEndpointBuilderFactory.QueueEndpointProducerBuilder- Parameters:
visibilityTimeout- the value to set- Returns:
- the dsl builder
-
visibilityTimeout
default QueueEndpointBuilderFactory.QueueEndpointBuilder visibilityTimeout(String visibilityTimeout)
The timeout period for how long the message is invisible in the queue. The timeout must be between 1 seconds and 7 days. The format should be in this form: PnDTnHnMn.nS., e.g: PT20.345S -- parses as 20.345 seconds, P2D -- parses as 2 days However, in case you are using EndpointDsl/ComponentDsl, you can do something like Duration.ofSeconds() since these Java APIs are typesafe. The option will be converted to a <code>java.time.Duration</code> type. Group: queue- Specified by:
visibilityTimeoutin interfaceQueueEndpointBuilderFactory.QueueEndpointConsumerBuilder- Specified by:
visibilityTimeoutin interfaceQueueEndpointBuilderFactory.QueueEndpointProducerBuilder- Parameters:
visibilityTimeout- the value to set- Returns:
- the dsl builder
-
accessKey
default QueueEndpointBuilderFactory.QueueEndpointBuilder accessKey(String accessKey)
Access key for the associated azure account name to be used for authentication with azure queue services. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
accessKeyin interfaceQueueEndpointBuilderFactory.QueueEndpointConsumerBuilder- Specified by:
accessKeyin interfaceQueueEndpointBuilderFactory.QueueEndpointProducerBuilder- Parameters:
accessKey- the value to set- Returns:
- the dsl builder
-
credentials
default QueueEndpointBuilderFactory.QueueEndpointBuilder credentials(com.azure.storage.common.StorageSharedKeyCredential credentials)
StorageSharedKeyCredential can be injected to create the azure client, this holds the important authentication information. The option is a: <code>com.azure.storage.common.StorageSharedKeyCredential</code> type. Group: security- Specified by:
credentialsin interfaceQueueEndpointBuilderFactory.QueueEndpointConsumerBuilder- Specified by:
credentialsin interfaceQueueEndpointBuilderFactory.QueueEndpointProducerBuilder- Parameters:
credentials- the value to set- Returns:
- the dsl builder
-
credentials
default QueueEndpointBuilderFactory.QueueEndpointBuilder credentials(String credentials)
StorageSharedKeyCredential can be injected to create the azure client, this holds the important authentication information. The option will be converted to a <code>com.azure.storage.common.StorageSharedKeyCredential</code> type. Group: security- Specified by:
credentialsin interfaceQueueEndpointBuilderFactory.QueueEndpointConsumerBuilder- Specified by:
credentialsin interfaceQueueEndpointBuilderFactory.QueueEndpointProducerBuilder- Parameters:
credentials- the value to set- Returns:
- the dsl builder
-
-