You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2025/12/10 12:29:00 UTC
[jira] [Assigned] (CAMEL-22762) aws2-sqs: queue URL stays null if the queue is created after the application has already started
[ https://issues.apache.org/jira/browse/CAMEL-22762?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen reassigned CAMEL-22762:
-----------------------------------
Assignee: Claus Ibsen
> aws2-sqs: queue URL stays null if the queue is created after the application has already started
> ------------------------------------------------------------------------------------------------
>
> Key: CAMEL-22762
> URL: https://issues.apache.org/jira/browse/CAMEL-22762
> Project: Camel
> Issue Type: Bug
> Components: camel-aws2-sqs
> Reporter: Kirill Byvshev
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 4.14.3, 4.17.0
>
> Attachments: image-2025-12-09-09-35-04-018.png
>
>
> If the queue is created after the application has already started, component still keeps using null and does not refresh the queueUrl, which lead to constant QueueDoesNotExistException error without clear explanation what is going on.
> Looks it should try to refresh it periodically or at least log queueUrl is not detected instead of q doesn't exist.
>
> Sourcecode investigation:
> I see it just "caches" queueUrl in the constructor of PollingTask instead of calling getQueueUrl() every poll iteration where reinitialisation logic is placed
>
> !image-2025-12-09-09-35-04-018.png|width=780,height=742!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)