Constructor and Description |
---|
SqsConfiguration() |
Modifier and Type | Method and Description |
---|---|
SqsConfiguration |
copy() |
String |
getAccessKey() |
String |
getAmazonAWSHost() |
com.amazonaws.services.sqs.AmazonSQS |
getAmazonSQSClient() |
String |
getAttributeNames() |
int |
getConcurrentConsumers() |
Integer |
getDefaultVisibilityTimeout() |
Integer |
getDelaySeconds() |
Integer |
getKmsDataKeyReusePeriodSeconds() |
String |
getKmsMasterKeyId() |
Integer |
getMaximumMessageSize() |
String |
getMessageAttributeNames() |
MessageDeduplicationIdStrategy |
getMessageDeduplicationIdStrategy() |
MessageGroupIdStrategy |
getMessageGroupIdStrategy() |
Integer |
getMessageRetentionPeriod() |
String |
getPolicy() |
String |
getProxyHost() |
Integer |
getProxyPort() |
String |
getQueueName() |
String |
getQueueOwnerAWSAccountId() |
String |
getQueueUrl() |
Integer |
getReceiveMessageWaitTimeSeconds() |
String |
getRedrivePolicy() |
String |
getRegion() |
String |
getSecretKey() |
Integer |
getVisibilityTimeout() |
Integer |
getWaitTimeSeconds() |
boolean |
isDelayQueue() |
boolean |
isDeleteAfterRead() |
boolean |
isDeleteIfFiltered() |
boolean |
isExtendMessageVisibility() |
boolean |
isServerSideEncryptionEnabled() |
void |
setAccessKey(String accessKey)
Amazon AWS Access Key
|
void |
setAmazonAWSHost(String amazonAWSHost)
The hostname of the Amazon AWS cloud.
|
void |
setAmazonSQSClient(com.amazonaws.services.sqs.AmazonSQS amazonSQSClient)
To use the AmazonSQS as client
|
void |
setAttributeNames(String attributeNames)
A list of attribute names to receive when consuming.
|
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 an exchange fails to get through a filter.
|
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(String strategy)
Only for FIFO queues.
|
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 |
setPolicy(String policy)
The policy for this queue
|
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 |
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)
Specify the queue region which could be used with queueOwnerAWSAccountId to build the service URL.
|
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 |
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 com.amazonaws.services.sqs.AmazonSQS getAmazonSQSClient()
public void setAmazonSQSClient(com.amazonaws.services.sqs.AmazonSQS 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)
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 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 MessageGroupIdStrategy getMessageGroupIdStrategy()
public MessageDeduplicationIdStrategy getMessageDeduplicationIdStrategy()
public void setMessageDeduplicationIdStrategy(String strategy)
public SqsConfiguration copy()
Apache Camel