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:16:52 UTC

[jira] [Comment Edited] (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:comment-tabpanel&focusedCommentId=13404798#comment-13404798 ] 

Luc Pezet edited comment on CAMEL-5414 at 7/1/12 8:16 PM:
----------------------------------------------------------

This is the test which I think follows Amazon behavior and shows that getting the queue url with the current SqsEndpoint implementation is broken.
I'd be more than happy to provide the patch if someone could just check the test and give me the go :)
Maybe I missed something and it's not broken...
                
      was (Author: lpezet):
    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