Open andersonfaria-hotmart opened 4 months ago
If a queue doesn't exist and cannot be created, the app won't start, which seems the correct behavior since it won't be able to comply with what it's been configured to do.
Can you share your reasoning for wanting the app to start even though it's configured to listen for a queue that doesn't exist?
My point is not to start the app, is about the logs. The logs show errors in all queues and not only in the queue that doesn't exist which makes it difficult to understand what is happening. The spring should show an error only in the queue with some problem.
Oh, I see.
The problem there is that the AWS SDK Task Executor is being shut down before the container has the chance to stop polling, so not sure if we can really do something about it.
Can you check the logs to see if the original error QueueDoesNotExistException
or Error creating queue
appears somewhere?
Thanks.
Type: Bug
Component: SQS
Describe the bug When using many SQS queues, and one of them does not exist, spring shows an error in all queues. And the error is not explicit about the problem.
logger -> io.awspring.cloud.sqs.listener.source.AbstractPollingMessageSource message -> Error polling for messages in queue product_sent_review Exception ->
product_sent_review exists and works properly, but the application expects a queue "producer_to_exclude" that doesn't exists
Sample Configure 3 sqs queues and 1 of them does not exists. The error will appear.