Kirill Byvshev created CAMEL-22762:
--------------------------------------
Summary: 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
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-08-17-49-23-381.png|width=550,height=524!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)