You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Luc Pezet (JIRA)" <ji...@apache.org> on 2012/07/01 22:15:42 UTC

[jira] [Updated] (CAMEL-5414) SqsEndpoint can't retrieve existing queue url with visibility timeout different than default

     [ https://issues.apache.org/jira/browse/CAMEL-5414?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Luc Pezet updated CAMEL-5414:
-----------------------------

    Attachment: SqsEndpointTest.java

This is the test which I think follows Amazon behavior and shows that getting the queue url with the current SqsEndpoint implementation is broken.
                
> SqsEndpoint can't retrieve existing queue url with visibility timeout different than default
> --------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-5414
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5414
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-aws
>    Affects Versions: 2.9.2
>            Reporter: Luc Pezet
>         Attachments: SqsEndpointTest.java
>
>
> This would happen in 2 scenarios:
> 1. Queue already exists with vsibility timeout different than 30 seconds (say use AWS Console to create a queue and set a different visibility timeout). Using this queue as an endpoint and problem will occur
> 2. Queue DOES NOT already exist and is created by SqsEndpoint (createQueue). If "defaultVisibilityTimeout" configured, it will still work...the first time. But restarting the endpoint (or the whole camel app) and the problem will occur.

--
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