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()
Allows you to use multiple threads to poll the sqs queue to increase throughput
|
Integer |
getDefaultVisibilityTimeout() |
Integer |
getDelaySeconds() |
Integer |
getMaximumMessageSize() |
String |
getMessageAttributeNames() |
MessageDeduplicationIdStrategy |
getMessageDeduplicationIdStrategy() |
MessageGroupIdStrategy |
getMessageGroupIdStrategy() |
Integer |
getMessageRetentionPeriod() |
String |
getPolicy() |
String |
getProxyHost()
To define a proxy host when instantiating the SQS client
|
Integer |
getProxyPort()
To define a proxy port when instantiating the SQS client
|
String |
getQueueName() |
String |
getQueueOwnerAWSAccountId() |
Integer |
getReceiveMessageWaitTimeSeconds() |
String |
getRedrivePolicy() |
String |
getRegion() |
String |
getSecretKey() |
Integer |
getVisibilityTimeout() |
Integer |
getWaitTimeSeconds() |
boolean |
isDeleteAfterRead() |
boolean |
isDeleteIfFiltered() |
boolean |
isExtendMessageVisibility() |
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) |
void |
setDefaultVisibilityTimeout(Integer defaultVisibilityTimeout)
The default visibility timeout (in seconds)
|
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 |
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) |
void |
setProxyPort(Integer proxyPort) |
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 |
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 |
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 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 getProxyHost()
public void setProxyHost(String proxyHost)
public Integer getProxyPort()
public void setProxyPort(Integer proxyPort)
public void setMessageGroupIdStrategy(String strategy)
public MessageGroupIdStrategy getMessageGroupIdStrategy()
public MessageDeduplicationIdStrategy getMessageDeduplicationIdStrategy()
public void setMessageDeduplicationIdStrategy(String strategy)
public SqsConfiguration copy()
Apache Camel