Interface Sqs2EndpointBuilderFactory.Sqs2EndpointBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder,org.apache.camel.EndpointConsumerResolver,org.apache.camel.builder.EndpointProducerBuilder,org.apache.camel.EndpointProducerResolver,Sqs2EndpointBuilderFactory.Sqs2EndpointConsumerBuilder,Sqs2EndpointBuilderFactory.Sqs2EndpointProducerBuilder
- Enclosing interface:
- Sqs2EndpointBuilderFactory
public static interface Sqs2EndpointBuilderFactory.Sqs2EndpointBuilder extends Sqs2EndpointBuilderFactory.Sqs2EndpointConsumerBuilder, Sqs2EndpointBuilderFactory.Sqs2EndpointProducerBuilder
Builder for endpoint for the AWS Simple Queue Service (SQS) component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default Sqs2EndpointBuilderFactory.Sqs2EndpointBuilderaccessKey(String accessKey)Amazon AWS Access Key.default Sqs2EndpointBuilderFactory.AdvancedSqs2EndpointBuilderadvanced()default Sqs2EndpointBuilderFactory.Sqs2EndpointBuilderamazonAWSHost(String amazonAWSHost)The hostname of the Amazon AWS cloud.default Sqs2EndpointBuilderFactory.Sqs2EndpointBuilderamazonSQSClient(String amazonSQSClient)To use the AmazonSQS as client.default Sqs2EndpointBuilderFactory.Sqs2EndpointBuilderamazonSQSClient(software.amazon.awssdk.services.sqs.SqsClient amazonSQSClient)To use the AmazonSQS as client.default Sqs2EndpointBuilderFactory.Sqs2EndpointBuilderautoCreateQueue(boolean autoCreateQueue)Setting the autocreation of the queue.default Sqs2EndpointBuilderFactory.Sqs2EndpointBuilderautoCreateQueue(String autoCreateQueue)Setting the autocreation of the queue.default Sqs2EndpointBuilderFactory.Sqs2EndpointBuilderheaderFilterStrategy(String headerFilterStrategy)To use a custom HeaderFilterStrategy to map headers to/from Camel.default Sqs2EndpointBuilderFactory.Sqs2EndpointBuilderheaderFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)To use a custom HeaderFilterStrategy to map headers to/from Camel.default Sqs2EndpointBuilderFactory.Sqs2EndpointBuildermaximumMessageSize(Integer maximumMessageSize)The maximumMessageSize (in bytes) an SQS message can contain for this queue.default Sqs2EndpointBuilderFactory.Sqs2EndpointBuildermaximumMessageSize(String maximumMessageSize)The maximumMessageSize (in bytes) an SQS message can contain for this queue.default Sqs2EndpointBuilderFactory.Sqs2EndpointBuildermessageRetentionPeriod(Integer messageRetentionPeriod)The messageRetentionPeriod (in seconds) a message will be retained by SQS for this queue.default Sqs2EndpointBuilderFactory.Sqs2EndpointBuildermessageRetentionPeriod(String messageRetentionPeriod)The messageRetentionPeriod (in seconds) a message will be retained by SQS for this queue.default Sqs2EndpointBuilderFactory.Sqs2EndpointBuilderoverrideEndpoint(boolean overrideEndpoint)Set the need for overriding the endpoint.default Sqs2EndpointBuilderFactory.Sqs2EndpointBuilderoverrideEndpoint(String overrideEndpoint)Set the need for overriding the endpoint.default Sqs2EndpointBuilderFactory.Sqs2EndpointBuilderpolicy(String policy)The policy for this queue.default Sqs2EndpointBuilderFactory.Sqs2EndpointBuilderprotocol(String protocol)The underlying protocol used to communicate with SQS.default Sqs2EndpointBuilderFactory.Sqs2EndpointBuilderproxyHost(String proxyHost)To define a proxy host when instantiating the SQS client.default Sqs2EndpointBuilderFactory.Sqs2EndpointBuilderproxyPort(Integer proxyPort)To define a proxy port when instantiating the SQS client.default Sqs2EndpointBuilderFactory.Sqs2EndpointBuilderproxyPort(String proxyPort)To define a proxy port when instantiating the SQS client.default Sqs2EndpointBuilderFactory.Sqs2EndpointBuilderproxyProtocol(String proxyProtocol)To define a proxy protocol when instantiating the SQS client.default Sqs2EndpointBuilderFactory.Sqs2EndpointBuilderproxyProtocol(software.amazon.awssdk.core.Protocol proxyProtocol)To define a proxy protocol when instantiating the SQS client.default Sqs2EndpointBuilderFactory.Sqs2EndpointBuilderqueueOwnerAWSAccountId(String queueOwnerAWSAccountId)Specify the queue owner aws account id when you need to connect the queue with different account owner.default Sqs2EndpointBuilderFactory.Sqs2EndpointBuilderqueueUrl(String queueUrl)To define the queueUrl explicitly.default Sqs2EndpointBuilderFactory.Sqs2EndpointBuilderreceiveMessageWaitTimeSeconds(Integer receiveMessageWaitTimeSeconds)If you do not specify WaitTimeSeconds in the request, the queue attribute ReceiveMessageWaitTimeSeconds is used to determine how long to wait.default Sqs2EndpointBuilderFactory.Sqs2EndpointBuilderreceiveMessageWaitTimeSeconds(String receiveMessageWaitTimeSeconds)If you do not specify WaitTimeSeconds in the request, the queue attribute ReceiveMessageWaitTimeSeconds is used to determine how long to wait.default Sqs2EndpointBuilderFactory.Sqs2EndpointBuilderredrivePolicy(String redrivePolicy)Specify the policy that send message to DeadLetter queue.default Sqs2EndpointBuilderFactory.Sqs2EndpointBuilderregion(String region)The region in which SQS client needs to work.default Sqs2EndpointBuilderFactory.Sqs2EndpointBuildersecretKey(String secretKey)Amazon AWS Secret Key.default Sqs2EndpointBuilderFactory.Sqs2EndpointBuildertrustAllCertificates(boolean trustAllCertificates)If we want to trust all certificates in case of overriding the endpoint.default Sqs2EndpointBuilderFactory.Sqs2EndpointBuildertrustAllCertificates(String trustAllCertificates)If we want to trust all certificates in case of overriding the endpoint.default Sqs2EndpointBuilderFactory.Sqs2EndpointBuilderuriEndpointOverride(String uriEndpointOverride)Set the overriding uri endpoint.default Sqs2EndpointBuilderFactory.Sqs2EndpointBuilderuseDefaultCredentialsProvider(boolean useDefaultCredentialsProvider)Set whether the SQS client should expect to load credentials on an AWS infra instance or to expect static credentials to be passed in.default Sqs2EndpointBuilderFactory.Sqs2EndpointBuilderuseDefaultCredentialsProvider(String useDefaultCredentialsProvider)Set whether the SQS client should expect to load credentials on an AWS infra instance or to expect static credentials to be passed in.-
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.Sqs2EndpointBuilderFactory.Sqs2EndpointConsumerBuilder
attributeNames, backoffErrorThreshold, backoffErrorThreshold, backoffIdleThreshold, backoffIdleThreshold, backoffMultiplier, backoffMultiplier, concurrentConsumers, concurrentConsumers, defaultVisibilityTimeout, defaultVisibilityTimeout, delay, delay, deleteAfterRead, deleteAfterRead, deleteIfFiltered, deleteIfFiltered, extendMessageVisibility, extendMessageVisibility, greedy, greedy, initialDelay, initialDelay, kmsDataKeyReusePeriodSeconds, kmsDataKeyReusePeriodSeconds, kmsMasterKeyId, maxMessagesPerPoll, maxMessagesPerPoll, messageAttributeNames, repeatCount, repeatCount, runLoggingLevel, runLoggingLevel, scheduledExecutorService, scheduledExecutorService, scheduler, scheduler, schedulerProperties, schedulerProperties, sendEmptyMessageWhenIdle, sendEmptyMessageWhenIdle, serverSideEncryptionEnabled, serverSideEncryptionEnabled, startScheduler, startScheduler, timeUnit, timeUnit, useFixedDelay, useFixedDelay, visibilityTimeout, visibilityTimeout, waitTimeSeconds, waitTimeSeconds
-
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.Sqs2EndpointBuilderFactory.Sqs2EndpointProducerBuilder
batchSeparator, delaySeconds, delaySeconds, messageDeduplicationIdStrategy, messageGroupIdStrategy, messageHeaderExceededLimit, operation, operation
-
-
-
-
Method Detail
-
advanced
default Sqs2EndpointBuilderFactory.AdvancedSqs2EndpointBuilder advanced()
- Specified by:
advancedin interfaceSqs2EndpointBuilderFactory.Sqs2EndpointConsumerBuilder- Specified by:
advancedin interfaceSqs2EndpointBuilderFactory.Sqs2EndpointProducerBuilder
-
amazonAWSHost
default Sqs2EndpointBuilderFactory.Sqs2EndpointBuilder amazonAWSHost(String amazonAWSHost)
The hostname of the Amazon AWS cloud. The option is a: <code>java.lang.String</code> type. Default: amazonaws.com Group: common- Specified by:
amazonAWSHostin interfaceSqs2EndpointBuilderFactory.Sqs2EndpointConsumerBuilder- Specified by:
amazonAWSHostin interfaceSqs2EndpointBuilderFactory.Sqs2EndpointProducerBuilder- Parameters:
amazonAWSHost- the value to set- Returns:
- the dsl builder
-
amazonSQSClient
default Sqs2EndpointBuilderFactory.Sqs2EndpointBuilder amazonSQSClient(software.amazon.awssdk.services.sqs.SqsClient amazonSQSClient)
To use the AmazonSQS as client. The option is a: <code>software.amazon.awssdk.services.sqs.SqsClient</code> type. Group: common- Specified by:
amazonSQSClientin interfaceSqs2EndpointBuilderFactory.Sqs2EndpointConsumerBuilder- Specified by:
amazonSQSClientin interfaceSqs2EndpointBuilderFactory.Sqs2EndpointProducerBuilder- Parameters:
amazonSQSClient- the value to set- Returns:
- the dsl builder
-
amazonSQSClient
default Sqs2EndpointBuilderFactory.Sqs2EndpointBuilder amazonSQSClient(String amazonSQSClient)
To use the AmazonSQS as client. The option will be converted to a <code>software.amazon.awssdk.services.sqs.SqsClient</code> type. Group: common- Specified by:
amazonSQSClientin interfaceSqs2EndpointBuilderFactory.Sqs2EndpointConsumerBuilder- Specified by:
amazonSQSClientin interfaceSqs2EndpointBuilderFactory.Sqs2EndpointProducerBuilder- Parameters:
amazonSQSClient- the value to set- Returns:
- the dsl builder
-
autoCreateQueue
default Sqs2EndpointBuilderFactory.Sqs2EndpointBuilder autoCreateQueue(boolean autoCreateQueue)
Setting the autocreation of the queue. The option is a: <code>boolean</code> type. Default: false Group: common- Specified by:
autoCreateQueuein interfaceSqs2EndpointBuilderFactory.Sqs2EndpointConsumerBuilder- Specified by:
autoCreateQueuein interfaceSqs2EndpointBuilderFactory.Sqs2EndpointProducerBuilder- Parameters:
autoCreateQueue- the value to set- Returns:
- the dsl builder
-
autoCreateQueue
default Sqs2EndpointBuilderFactory.Sqs2EndpointBuilder autoCreateQueue(String autoCreateQueue)
Setting the autocreation of the queue. The option will be converted to a <code>boolean</code> type. Default: false Group: common- Specified by:
autoCreateQueuein interfaceSqs2EndpointBuilderFactory.Sqs2EndpointConsumerBuilder- Specified by:
autoCreateQueuein interfaceSqs2EndpointBuilderFactory.Sqs2EndpointProducerBuilder- Parameters:
autoCreateQueue- the value to set- Returns:
- the dsl builder
-
headerFilterStrategy
default Sqs2EndpointBuilderFactory.Sqs2EndpointBuilder headerFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)
To use a custom HeaderFilterStrategy to map headers to/from Camel. The option is a: <code>org.apache.camel.spi.HeaderFilterStrategy</code> type. Group: common- Specified by:
headerFilterStrategyin interfaceSqs2EndpointBuilderFactory.Sqs2EndpointConsumerBuilder- Specified by:
headerFilterStrategyin interfaceSqs2EndpointBuilderFactory.Sqs2EndpointProducerBuilder- Parameters:
headerFilterStrategy- the value to set- Returns:
- the dsl builder
-
headerFilterStrategy
default Sqs2EndpointBuilderFactory.Sqs2EndpointBuilder headerFilterStrategy(String headerFilterStrategy)
To use a custom HeaderFilterStrategy to map headers to/from Camel. The option will be converted to a <code>org.apache.camel.spi.HeaderFilterStrategy</code> type. Group: common- Specified by:
headerFilterStrategyin interfaceSqs2EndpointBuilderFactory.Sqs2EndpointConsumerBuilder- Specified by:
headerFilterStrategyin interfaceSqs2EndpointBuilderFactory.Sqs2EndpointProducerBuilder- Parameters:
headerFilterStrategy- the value to set- Returns:
- the dsl builder
-
overrideEndpoint
default Sqs2EndpointBuilderFactory.Sqs2EndpointBuilder overrideEndpoint(boolean overrideEndpoint)
Set the need for overriding the endpoint. This option needs to be used in combination with uriEndpointOverride option. The option is a: <code>boolean</code> type. Default: false Group: common- Specified by:
overrideEndpointin interfaceSqs2EndpointBuilderFactory.Sqs2EndpointConsumerBuilder- Specified by:
overrideEndpointin interfaceSqs2EndpointBuilderFactory.Sqs2EndpointProducerBuilder- Parameters:
overrideEndpoint- the value to set- Returns:
- the dsl builder
-
overrideEndpoint
default Sqs2EndpointBuilderFactory.Sqs2EndpointBuilder overrideEndpoint(String overrideEndpoint)
Set the need for overriding the endpoint. This option needs to be used in combination with uriEndpointOverride option. The option will be converted to a <code>boolean</code> type. Default: false Group: common- Specified by:
overrideEndpointin interfaceSqs2EndpointBuilderFactory.Sqs2EndpointConsumerBuilder- Specified by:
overrideEndpointin interfaceSqs2EndpointBuilderFactory.Sqs2EndpointProducerBuilder- Parameters:
overrideEndpoint- the value to set- Returns:
- the dsl builder
-
protocol
default Sqs2EndpointBuilderFactory.Sqs2EndpointBuilder protocol(String protocol)
The underlying protocol used to communicate with SQS. The option is a: <code>java.lang.String</code> type. Default: https Group: common- Specified by:
protocolin interfaceSqs2EndpointBuilderFactory.Sqs2EndpointConsumerBuilder- Specified by:
protocolin interfaceSqs2EndpointBuilderFactory.Sqs2EndpointProducerBuilder- Parameters:
protocol- the value to set- Returns:
- the dsl builder
-
proxyProtocol
default Sqs2EndpointBuilderFactory.Sqs2EndpointBuilder proxyProtocol(software.amazon.awssdk.core.Protocol proxyProtocol)
To define a proxy protocol when instantiating the SQS client. The option is a: <code>software.amazon.awssdk.core.Protocol</code> type. Default: HTTPS Group: common- Specified by:
proxyProtocolin interfaceSqs2EndpointBuilderFactory.Sqs2EndpointConsumerBuilder- Specified by:
proxyProtocolin interfaceSqs2EndpointBuilderFactory.Sqs2EndpointProducerBuilder- Parameters:
proxyProtocol- the value to set- Returns:
- the dsl builder
-
proxyProtocol
default Sqs2EndpointBuilderFactory.Sqs2EndpointBuilder proxyProtocol(String proxyProtocol)
To define a proxy protocol when instantiating the SQS client. The option will be converted to a <code>software.amazon.awssdk.core.Protocol</code> type. Default: HTTPS Group: common- Specified by:
proxyProtocolin interfaceSqs2EndpointBuilderFactory.Sqs2EndpointConsumerBuilder- Specified by:
proxyProtocolin interfaceSqs2EndpointBuilderFactory.Sqs2EndpointProducerBuilder- Parameters:
proxyProtocol- the value to set- Returns:
- the dsl builder
-
queueOwnerAWSAccountId
default Sqs2EndpointBuilderFactory.Sqs2EndpointBuilder queueOwnerAWSAccountId(String queueOwnerAWSAccountId)
Specify the queue owner aws account id when you need to connect the queue with different account owner. The option is a: <code>java.lang.String</code> type. Group: common- Specified by:
queueOwnerAWSAccountIdin interfaceSqs2EndpointBuilderFactory.Sqs2EndpointConsumerBuilder- Specified by:
queueOwnerAWSAccountIdin interfaceSqs2EndpointBuilderFactory.Sqs2EndpointProducerBuilder- Parameters:
queueOwnerAWSAccountId- the value to set- Returns:
- the dsl builder
-
region
default Sqs2EndpointBuilderFactory.Sqs2EndpointBuilder region(String region)
The region in which SQS client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example ap-east-1) You'll need to use the name Region.EU_WEST_1.id(). The option is a: <code>java.lang.String</code> type. Group: common- Specified by:
regionin interfaceSqs2EndpointBuilderFactory.Sqs2EndpointConsumerBuilder- Specified by:
regionin interfaceSqs2EndpointBuilderFactory.Sqs2EndpointProducerBuilder- Parameters:
region- the value to set- Returns:
- the dsl builder
-
trustAllCertificates
default Sqs2EndpointBuilderFactory.Sqs2EndpointBuilder trustAllCertificates(boolean trustAllCertificates)
If we want to trust all certificates in case of overriding the endpoint. The option is a: <code>boolean</code> type. Default: false Group: common- Specified by:
trustAllCertificatesin interfaceSqs2EndpointBuilderFactory.Sqs2EndpointConsumerBuilder- Specified by:
trustAllCertificatesin interfaceSqs2EndpointBuilderFactory.Sqs2EndpointProducerBuilder- Parameters:
trustAllCertificates- the value to set- Returns:
- the dsl builder
-
trustAllCertificates
default Sqs2EndpointBuilderFactory.Sqs2EndpointBuilder trustAllCertificates(String trustAllCertificates)
If we want to trust all certificates in case of overriding the endpoint. The option will be converted to a <code>boolean</code> type. Default: false Group: common- Specified by:
trustAllCertificatesin interfaceSqs2EndpointBuilderFactory.Sqs2EndpointConsumerBuilder- Specified by:
trustAllCertificatesin interfaceSqs2EndpointBuilderFactory.Sqs2EndpointProducerBuilder- Parameters:
trustAllCertificates- the value to set- Returns:
- the dsl builder
-
uriEndpointOverride
default Sqs2EndpointBuilderFactory.Sqs2EndpointBuilder uriEndpointOverride(String uriEndpointOverride)
Set the overriding uri endpoint. This option needs to be used in combination with overrideEndpoint option. The option is a: <code>java.lang.String</code> type. Group: common- Specified by:
uriEndpointOverridein interfaceSqs2EndpointBuilderFactory.Sqs2EndpointConsumerBuilder- Specified by:
uriEndpointOverridein interfaceSqs2EndpointBuilderFactory.Sqs2EndpointProducerBuilder- Parameters:
uriEndpointOverride- the value to set- Returns:
- the dsl builder
-
useDefaultCredentialsProvider
default Sqs2EndpointBuilderFactory.Sqs2EndpointBuilder useDefaultCredentialsProvider(boolean useDefaultCredentialsProvider)
Set whether the SQS client should expect to load credentials on an AWS infra instance or to expect static credentials to be passed in. The option is a: <code>boolean</code> type. Default: false Group: common- Specified by:
useDefaultCredentialsProviderin interfaceSqs2EndpointBuilderFactory.Sqs2EndpointConsumerBuilder- Specified by:
useDefaultCredentialsProviderin interfaceSqs2EndpointBuilderFactory.Sqs2EndpointProducerBuilder- Parameters:
useDefaultCredentialsProvider- the value to set- Returns:
- the dsl builder
-
useDefaultCredentialsProvider
default Sqs2EndpointBuilderFactory.Sqs2EndpointBuilder useDefaultCredentialsProvider(String useDefaultCredentialsProvider)
Set whether the SQS client should expect to load credentials on an AWS infra instance or to expect static credentials to be passed in. The option will be converted to a <code>boolean</code> type. Default: false Group: common- Specified by:
useDefaultCredentialsProviderin interfaceSqs2EndpointBuilderFactory.Sqs2EndpointConsumerBuilder- Specified by:
useDefaultCredentialsProviderin interfaceSqs2EndpointBuilderFactory.Sqs2EndpointProducerBuilder- Parameters:
useDefaultCredentialsProvider- the value to set- Returns:
- the dsl builder
-
proxyHost
default Sqs2EndpointBuilderFactory.Sqs2EndpointBuilder proxyHost(String proxyHost)
To define a proxy host when instantiating the SQS client. The option is a: <code>java.lang.String</code> type. Group: proxy- Specified by:
proxyHostin interfaceSqs2EndpointBuilderFactory.Sqs2EndpointConsumerBuilder- Specified by:
proxyHostin interfaceSqs2EndpointBuilderFactory.Sqs2EndpointProducerBuilder- Parameters:
proxyHost- the value to set- Returns:
- the dsl builder
-
proxyPort
default Sqs2EndpointBuilderFactory.Sqs2EndpointBuilder proxyPort(Integer proxyPort)
To define a proxy port when instantiating the SQS client. The option is a: <code>java.lang.Integer</code> type. Group: proxy- Specified by:
proxyPortin interfaceSqs2EndpointBuilderFactory.Sqs2EndpointConsumerBuilder- Specified by:
proxyPortin interfaceSqs2EndpointBuilderFactory.Sqs2EndpointProducerBuilder- Parameters:
proxyPort- the value to set- Returns:
- the dsl builder
-
proxyPort
default Sqs2EndpointBuilderFactory.Sqs2EndpointBuilder proxyPort(String proxyPort)
To define a proxy port when instantiating the SQS client. The option will be converted to a <code>java.lang.Integer</code> type. Group: proxy- Specified by:
proxyPortin interfaceSqs2EndpointBuilderFactory.Sqs2EndpointConsumerBuilder- Specified by:
proxyPortin interfaceSqs2EndpointBuilderFactory.Sqs2EndpointProducerBuilder- Parameters:
proxyPort- the value to set- Returns:
- the dsl builder
-
maximumMessageSize
default Sqs2EndpointBuilderFactory.Sqs2EndpointBuilder maximumMessageSize(Integer maximumMessageSize)
The maximumMessageSize (in bytes) an SQS message can contain for this queue. The option is a: <code>java.lang.Integer</code> type. Group: queue- Specified by:
maximumMessageSizein interfaceSqs2EndpointBuilderFactory.Sqs2EndpointConsumerBuilder- Specified by:
maximumMessageSizein interfaceSqs2EndpointBuilderFactory.Sqs2EndpointProducerBuilder- Parameters:
maximumMessageSize- the value to set- Returns:
- the dsl builder
-
maximumMessageSize
default Sqs2EndpointBuilderFactory.Sqs2EndpointBuilder maximumMessageSize(String maximumMessageSize)
The maximumMessageSize (in bytes) an SQS message can contain for this queue. The option will be converted to a <code>java.lang.Integer</code> type. Group: queue- Specified by:
maximumMessageSizein interfaceSqs2EndpointBuilderFactory.Sqs2EndpointConsumerBuilder- Specified by:
maximumMessageSizein interfaceSqs2EndpointBuilderFactory.Sqs2EndpointProducerBuilder- Parameters:
maximumMessageSize- the value to set- Returns:
- the dsl builder
-
messageRetentionPeriod
default Sqs2EndpointBuilderFactory.Sqs2EndpointBuilder messageRetentionPeriod(Integer messageRetentionPeriod)
The messageRetentionPeriod (in seconds) a message will be retained by SQS for this queue. The option is a: <code>java.lang.Integer</code> type. Group: queue- Specified by:
messageRetentionPeriodin interfaceSqs2EndpointBuilderFactory.Sqs2EndpointConsumerBuilder- Specified by:
messageRetentionPeriodin interfaceSqs2EndpointBuilderFactory.Sqs2EndpointProducerBuilder- Parameters:
messageRetentionPeriod- the value to set- Returns:
- the dsl builder
-
messageRetentionPeriod
default Sqs2EndpointBuilderFactory.Sqs2EndpointBuilder messageRetentionPeriod(String messageRetentionPeriod)
The messageRetentionPeriod (in seconds) a message will be retained by SQS for this queue. The option will be converted to a <code>java.lang.Integer</code> type. Group: queue- Specified by:
messageRetentionPeriodin interfaceSqs2EndpointBuilderFactory.Sqs2EndpointConsumerBuilder- Specified by:
messageRetentionPeriodin interfaceSqs2EndpointBuilderFactory.Sqs2EndpointProducerBuilder- Parameters:
messageRetentionPeriod- the value to set- Returns:
- the dsl builder
-
policy
default Sqs2EndpointBuilderFactory.Sqs2EndpointBuilder policy(String policy)
The policy for this queue. It can be loaded by default from classpath, but you can prefix with classpath:, file:, or http: to load the resource from different systems. The option is a: <code>java.lang.String</code> type. Group: queue- Specified by:
policyin interfaceSqs2EndpointBuilderFactory.Sqs2EndpointConsumerBuilder- Specified by:
policyin interfaceSqs2EndpointBuilderFactory.Sqs2EndpointProducerBuilder- Parameters:
policy- the value to set- Returns:
- the dsl builder
-
queueUrl
default Sqs2EndpointBuilderFactory.Sqs2EndpointBuilder queueUrl(String queueUrl)
To define the queueUrl explicitly. All other parameters, which would influence the queueUrl, are ignored. This parameter is intended to be used, to connect to a mock implementation of SQS, for testing purposes. The option is a: <code>java.lang.String</code> type. Group: queue- Specified by:
queueUrlin interfaceSqs2EndpointBuilderFactory.Sqs2EndpointConsumerBuilder- Specified by:
queueUrlin interfaceSqs2EndpointBuilderFactory.Sqs2EndpointProducerBuilder- Parameters:
queueUrl- the value to set- Returns:
- the dsl builder
-
receiveMessageWaitTimeSeconds
default Sqs2EndpointBuilderFactory.Sqs2EndpointBuilder receiveMessageWaitTimeSeconds(Integer receiveMessageWaitTimeSeconds)
If you do not specify WaitTimeSeconds in the request, the queue attribute ReceiveMessageWaitTimeSeconds is used to determine how long to wait. The option is a: <code>java.lang.Integer</code> type. Group: queue- Specified by:
receiveMessageWaitTimeSecondsin interfaceSqs2EndpointBuilderFactory.Sqs2EndpointConsumerBuilder- Specified by:
receiveMessageWaitTimeSecondsin interfaceSqs2EndpointBuilderFactory.Sqs2EndpointProducerBuilder- Parameters:
receiveMessageWaitTimeSeconds- the value to set- Returns:
- the dsl builder
-
receiveMessageWaitTimeSeconds
default Sqs2EndpointBuilderFactory.Sqs2EndpointBuilder receiveMessageWaitTimeSeconds(String receiveMessageWaitTimeSeconds)
If you do not specify WaitTimeSeconds in the request, the queue attribute ReceiveMessageWaitTimeSeconds is used to determine how long to wait. The option will be converted to a <code>java.lang.Integer</code> type. Group: queue- Specified by:
receiveMessageWaitTimeSecondsin interfaceSqs2EndpointBuilderFactory.Sqs2EndpointConsumerBuilder- Specified by:
receiveMessageWaitTimeSecondsin interfaceSqs2EndpointBuilderFactory.Sqs2EndpointProducerBuilder- Parameters:
receiveMessageWaitTimeSeconds- the value to set- Returns:
- the dsl builder
-
redrivePolicy
default Sqs2EndpointBuilderFactory.Sqs2EndpointBuilder redrivePolicy(String redrivePolicy)
Specify the policy that send message to DeadLetter queue. See detail at Amazon docs. The option is a: <code>java.lang.String</code> type. Group: queue- Specified by:
redrivePolicyin interfaceSqs2EndpointBuilderFactory.Sqs2EndpointConsumerBuilder- Specified by:
redrivePolicyin interfaceSqs2EndpointBuilderFactory.Sqs2EndpointProducerBuilder- Parameters:
redrivePolicy- the value to set- Returns:
- the dsl builder
-
accessKey
default Sqs2EndpointBuilderFactory.Sqs2EndpointBuilder accessKey(String accessKey)
Amazon AWS Access Key. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
accessKeyin interfaceSqs2EndpointBuilderFactory.Sqs2EndpointConsumerBuilder- Specified by:
accessKeyin interfaceSqs2EndpointBuilderFactory.Sqs2EndpointProducerBuilder- Parameters:
accessKey- the value to set- Returns:
- the dsl builder
-
secretKey
default Sqs2EndpointBuilderFactory.Sqs2EndpointBuilder secretKey(String secretKey)
Amazon AWS Secret Key. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
secretKeyin interfaceSqs2EndpointBuilderFactory.Sqs2EndpointConsumerBuilder- Specified by:
secretKeyin interfaceSqs2EndpointBuilderFactory.Sqs2EndpointProducerBuilder- Parameters:
secretKey- the value to set- Returns:
- the dsl builder
-
-