[
https://issues.apache.org/jira/browse/CAMEL-5414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13449062#comment-13449062
]
Christian Müller commented on CAMEL-5414:
-----------------------------------------
I committed a patch which fixed this behavior. The SQS endpoint will now list
the existing queues and use the url of the existing queue *AND ITS ATTRIBUTES!*
If the queues doesn't exist, we will create a new one with the provided
attributes.
Is this also your expected behavior? Or should we also call
'setQueueAttributes' and update all of them if the queue already exists?
> 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
> Assignee: Christian Müller
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira