[ https://issues.apache.org/jira/browse/CAMEL-3869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13021519#comment-13021519 ]
Sean Parsons commented on CAMEL-3869: ------------------------------------- After having a conversation with someone here and looking at the documentation for the CreateQueue call, it would appear that DefaultVisibilityTimeout only has an effect when the queue is created. So if at a later date it was required to extend it, with the current Camel implementation that would only be possible if the queue was deleted, which is a bad idea. In fact, checking the documentation, that will cause an error: "Exception: if you provide a value for DefaultVisibilityTimeout that is different from the value for the existing queue, you receive an error." Implies what it should do is only update the visibility timeout through SetQueueAttributes as that will work with existing queues as well as queues that have only just been created. > 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