camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luc Pezet (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-3869) Patch for Camel AWS SQS endpoint to set maximum message size and message retention period.
Date Thu, 28 Jun 2012 20:48:42 GMT

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

Luc Pezet commented on CAMEL-3869:
----------------------------------

Hi,

This fix has been applied to Camel 2.8?
I must be looking at the wrong thing (or I need another pair of glasses) cause I don't see
"defaultVisibilityTimeout" being used when doing the CreateQueue here:
https://svn.apache.org/repos/asf/camel/branches/camel-2.8.x/components/camel-aws/src/main/java/org/apache/camel/component/aws/sqs/SqsEndpoint.java
(same in trunk by the way).

A comment then...why not using ListQueue (setting the queue name prefix in the ListQueueRequest)
instead to get the URL?


Thanks,
Luc.
                
> 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

       

Mime
View raw message