[ 
https://issues.apache.org/jira/browse/CAMEL-3869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13033706#comment-13033706
 ] 

Christian Müller commented on CAMEL-3869:
-----------------------------------------

Sean, I end up with three different visibility timeouts:

defaultVisibilityTimeout: The visibility timeout to set in the 
CreateQueueRequest.
visibilityTimeout: The duration that the received messages are hidden from 
subsequent retrieve requests after being retrieved by a ReceiveMessage request 
to set in the SetQueueAttributesRequest. Changes the queue attribute 
permanently.
messageVisibilityTimeout: The duration that the received messages are hidden 
from subsequent retrieve requests after being retrieved by a ReceiveMessage 
request to set in the ReceiveMessageRequest. Does *NOT* changes the queue 
attribute permanently.

Make this also sense for you?

Christian

> Patch for Camel AWS SQS endpoint to set maximum message size and message 
> retention period.
> ------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-3869
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3869
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-aws
>            Reporter: Sean Parsons
>            Assignee: Christian Müller
>            Priority: Minor
>         Attachments: sqsattributes.patch
>
>
> We wished to have the ability to control the MaximumMessageSize and 
> MessageRetentionPeriod through Camel, as otherwise it requires some external 
> process to update those values after the queues have been created.  
> Documentation of these options is here: 
> http://docs.amazonwebservices.com/AWSSimpleQueueService/latest/APIReference/Query_QuerySetQueueAttributes.html
> So far this only sets those settings, but it should be easy to update it with 
> the others that are supported by SetQueueAttributes. I made some moderate 
> tweaks along the way but nothing groundbreaking, the only thing I'm not sure 
> about is my adding of those attribute names to SqsConstants.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to