You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Christian Müller (JIRA)" <ji...@apache.org> on 2012/08/20 23:29:38 UTC

[jira] [Commented] (CAMEL-3869) Patch for Camel AWS SQS endpoint to set maximum message size and message retention period.

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

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

there is no API to call
{code}
request.setDefaultVisibilityTimeout(configuration.getDefaultVisibilityTimeout());
{code}

See http://docs.amazonwebservices.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/AboutVT.html on how to set the visibility timeout on an existing queue.
                
> 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
>    Affects Versions: 2.7.1
>            Reporter: Sean Parsons
>            Assignee: Christian Müller
>            Priority: Minor
>             Fix For: 2.8.0
>
>         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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira