| Constructor and Description |
|---|
Sqs2Configuration() |
| Modifier and Type | Method and Description |
|---|---|
Sqs2Configuration |
copy() |
String |
getAccessKey() |
String |
getAmazonAWSHost() |
software.amazon.awssdk.services.sqs.SqsClient |
getAmazonSQSClient() |
String |
getAttributeNames() |
String |
getBatchSeparator() |
int |
getConcurrentConsumers() |
Integer |
getDefaultVisibilityTimeout() |
Integer |
getDelaySeconds() |
Integer |
getKmsDataKeyReusePeriodSeconds() |
String |
getKmsMasterKeyId() |
Integer |
getMaximumMessageSize() |
String |
getMessageAttributeNames() |
MessageDeduplicationIdStrategy |
getMessageDeduplicationIdStrategy() |
MessageGroupIdStrategy |
getMessageGroupIdStrategy() |
Integer |
getMessageRetentionPeriod() |
Sqs2Operations |
getOperation() |
String |
getPolicy() |
String |
getProtocol() |
String |
getProxyHost() |
Integer |
getProxyPort() |
software.amazon.awssdk.core.Protocol |
getProxyProtocol() |
String |
getQueueName() |
String |
getQueueOwnerAWSAccountId() |
String |
getQueueUrl() |
Integer |
getReceiveMessageWaitTimeSeconds() |
String |
getRedrivePolicy() |
String |
getRegion() |
String |
getSecretKey() |
String |
getUriEndpointOverride() |
Integer |
getVisibilityTimeout() |
Integer |
getWaitTimeSeconds() |
boolean |
isAutoCreateQueue() |
boolean |
isDelayQueue() |
boolean |
isDeleteAfterRead() |
boolean |
isDeleteIfFiltered() |
boolean |
isExtendMessageVisibility() |
boolean |
isOverrideEndpoint() |
boolean |
isServerSideEncryptionEnabled() |
boolean |
isTrustAllCertificates() |
boolean |
isUseDefaultCredentialsProvider() |
void |
setAccessKey(String accessKey)
Amazon AWS Access Key
|
void |
setAmazonAWSHost(String amazonAWSHost)
The hostname of the Amazon AWS cloud.
|
void |
setAmazonSQSClient(software.amazon.awssdk.services.sqs.SqsClient amazonSQSClient)
To use the AmazonSQS as client
|
void |
setAttributeNames(String attributeNames)
A list of attribute names to receive when consuming.
|
void |
setAutoCreateQueue(boolean autoCreateQueue)
Setting the autocreation of the queue
|
void |
setBatchSeparator(String batchSeparator)
Set the separator when passing a String to send batch message operation
|
void |
setConcurrentConsumers(int concurrentConsumers)
Allows you to use multiple threads to poll the sqs queue to increase throughput
|
void |
setDefaultVisibilityTimeout(Integer defaultVisibilityTimeout)
The default visibility timeout (in seconds)
|
void |
setDelayQueue(boolean delayQueue)
Define if you want to apply delaySeconds option to the queue or on single messages
|
void |
setDelaySeconds(Integer delaySeconds)
Delay sending messages for a number of seconds.
|
void |
setDeleteAfterRead(boolean deleteAfterRead)
Delete message from SQS after it has been read
|
void |
setDeleteIfFiltered(boolean deleteIfFiltered)
Whether or not to send the DeleteMessage to the SQS queue if the exchange has property with key
Sqs2Constants.SQS_DELETE_FILTERED (CamelAwsSqsDeleteFiltered) set to true. |
void |
setExtendMessageVisibility(boolean extendMessageVisibility)
If enabled then a scheduled background task will keep extending the message visibility on SQS.
|
void |
setKmsDataKeyReusePeriodSeconds(Integer kmsDataKeyReusePeriodSeconds)
The length of time, in seconds, for which Amazon SQS can reuse a data key to encrypt or decrypt messages before
calling AWS KMS again.
|
void |
setKmsMasterKeyId(String kmsMasterKeyId)
The ID of an AWS-managed customer master key (CMK) for Amazon SQS or a custom CMK.
|
void |
setMaximumMessageSize(Integer maximumMessageSize)
The maximumMessageSize (in bytes) an SQS message can contain for this queue.
|
void |
setMessageAttributeNames(String messageAttributeNames)
A list of message attribute names to receive when consuming.
|
void |
setMessageDeduplicationIdStrategy(MessageDeduplicationIdStrategy messageDeduplicationIdStrategy) |
void |
setMessageDeduplicationIdStrategy(String strategy)
Only for FIFO queues.
|
void |
setMessageGroupIdStrategy(MessageGroupIdStrategy messageGroupIdStrategy) |
void |
setMessageGroupIdStrategy(String strategy)
Only for FIFO queues.
|
void |
setMessageRetentionPeriod(Integer messageRetentionPeriod)
The messageRetentionPeriod (in seconds) a message will be retained by SQS for this queue.
|
void |
setOperation(Sqs2Operations operation)
The operation to do in case the user don't want to send only a message
|
void |
setOverrideEndpoint(boolean overrideEndpoint)
Set the need for overidding the endpoint.
|
void |
setPolicy(String policy)
The policy for this queue.
|
void |
setProtocol(String protocol)
The underlying protocol used to communicate with SQS
|
void |
setProxyHost(String proxyHost)
To define a proxy host when instantiating the SQS client
|
void |
setProxyPort(Integer proxyPort)
To define a proxy port when instantiating the SQS client
|
void |
setProxyProtocol(software.amazon.awssdk.core.Protocol proxyProtocol)
To define a proxy protocol when instantiating the SQS client
|
void |
setQueueName(String queueName)
Name of queue.
|
void |
setQueueOwnerAWSAccountId(String queueOwnerAWSAccountId)
Specify the queue owner aws account id when you need to connect the queue with different account owner.
|
void |
setQueueUrl(String queueUrl)
To define the queueUrl explicitly.
|
void |
setReceiveMessageWaitTimeSeconds(Integer receiveMessageWaitTimeSeconds)
If you do not specify WaitTimeSeconds in the request, the queue attribute ReceiveMessageWaitTimeSeconds is used
to determine how long to wait.
|
void |
setRedrivePolicy(String redrivePolicy)
Specify the policy that send message to DeadLetter queue.
|
void |
setRegion(String region)
The region in which SQS client needs to work.
|
void |
setSecretKey(String secretKey)
Amazon AWS Secret Key
|
void |
setServerSideEncryptionEnabled(boolean serverSideEncryptionEnabled)
Define if Server Side Encryption is enabled or not on the queue
|
void |
setTrustAllCertificates(boolean trustAllCertificates)
If we want to trust all certificates in case of overriding the endpoint
|
void |
setUriEndpointOverride(String uriEndpointOverride)
Set the overriding uri endpoint.
|
void |
setUseDefaultCredentialsProvider(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.
|
void |
setVisibilityTimeout(Integer visibilityTimeout)
The duration (in seconds) that the received messages are hidden from subsequent retrieve requests after being
retrieved by a ReceiveMessage request to set in the com.amazonaws.services.sqs.model.SetQueueAttributesRequest.
|
void |
setWaitTimeSeconds(Integer waitTimeSeconds)
Duration in seconds (0 to 20) that the ReceiveMessage action call will wait until a message is in the queue to
include in the response.
|
public String getAmazonAWSHost()
public void setAmazonAWSHost(String amazonAWSHost)
public String getQueueName()
public void setQueueName(String queueName)
public String getAccessKey()
public void setAccessKey(String accessKey)
public String getSecretKey()
public void setSecretKey(String secretKey)
public boolean isDeleteAfterRead()
public void setDeleteAfterRead(boolean deleteAfterRead)
public software.amazon.awssdk.services.sqs.SqsClient getAmazonSQSClient()
public void setAmazonSQSClient(software.amazon.awssdk.services.sqs.SqsClient amazonSQSClient)
public Integer getVisibilityTimeout()
public void setVisibilityTimeout(Integer visibilityTimeout)
public String getAttributeNames()
public void setAttributeNames(String attributeNames)
public String getMessageAttributeNames()
public void setMessageAttributeNames(String messageAttributeNames)
public Integer getDefaultVisibilityTimeout()
public void setDefaultVisibilityTimeout(Integer defaultVisibilityTimeout)
public Integer getDelaySeconds()
public void setDelaySeconds(Integer delaySeconds)
public boolean isDelayQueue()
public void setDelayQueue(boolean delayQueue)
public Integer getMaximumMessageSize()
public void setMaximumMessageSize(Integer maximumMessageSize)
public Integer getMessageRetentionPeriod()
public void setMessageRetentionPeriod(Integer messageRetentionPeriod)
public String getPolicy()
public void setPolicy(String policy)
public String getRedrivePolicy()
public void setRedrivePolicy(String redrivePolicy)
public boolean isExtendMessageVisibility()
public void setExtendMessageVisibility(boolean extendMessageVisibility)
public Integer getReceiveMessageWaitTimeSeconds()
public void setReceiveMessageWaitTimeSeconds(Integer receiveMessageWaitTimeSeconds)
public Integer getWaitTimeSeconds()
public void setWaitTimeSeconds(Integer waitTimeSeconds)
public String getQueueOwnerAWSAccountId()
public void setQueueOwnerAWSAccountId(String queueOwnerAWSAccountId)
public boolean isDeleteIfFiltered()
public void setDeleteIfFiltered(boolean deleteIfFiltered)
Sqs2Constants.SQS_DELETE_FILTERED (CamelAwsSqsDeleteFiltered) set to true.public String getRegion()
public void setRegion(String region)
public int getConcurrentConsumers()
public void setConcurrentConsumers(int concurrentConsumers)
public String getQueueUrl()
public void setQueueUrl(String queueUrl)
public software.amazon.awssdk.core.Protocol getProxyProtocol()
public void setProxyProtocol(software.amazon.awssdk.core.Protocol proxyProtocol)
public String getProxyHost()
public void setProxyHost(String proxyHost)
public Integer getProxyPort()
public void setProxyPort(Integer proxyPort)
public String getKmsMasterKeyId()
public void setKmsMasterKeyId(String kmsMasterKeyId)
public Integer getKmsDataKeyReusePeriodSeconds()
public void setKmsDataKeyReusePeriodSeconds(Integer kmsDataKeyReusePeriodSeconds)
public boolean isServerSideEncryptionEnabled()
public void setServerSideEncryptionEnabled(boolean serverSideEncryptionEnabled)
public void setMessageGroupIdStrategy(String strategy)
public void setMessageGroupIdStrategy(MessageGroupIdStrategy messageGroupIdStrategy)
public MessageGroupIdStrategy getMessageGroupIdStrategy()
public MessageDeduplicationIdStrategy getMessageDeduplicationIdStrategy()
public void setMessageDeduplicationIdStrategy(String strategy)
public void setMessageDeduplicationIdStrategy(MessageDeduplicationIdStrategy messageDeduplicationIdStrategy)
public Sqs2Operations getOperation()
public void setOperation(Sqs2Operations operation)
public boolean isAutoCreateQueue()
public void setAutoCreateQueue(boolean autoCreateQueue)
public String getProtocol()
public void setProtocol(String protocol)
public boolean isTrustAllCertificates()
public void setTrustAllCertificates(boolean trustAllCertificates)
public boolean isUseDefaultCredentialsProvider()
public void setUseDefaultCredentialsProvider(boolean useDefaultCredentialsProvider)
public String getBatchSeparator()
public void setBatchSeparator(String batchSeparator)
public boolean isOverrideEndpoint()
public void setOverrideEndpoint(boolean overrideEndpoint)
public String getUriEndpointOverride()
public void setUriEndpointOverride(String uriEndpointOverride)
public Sqs2Configuration copy()
Apache Camel