spring-cloud-aws icon indicating copy to clipboard operation
spring-cloud-aws copied to clipboard

Allow context to start when SQS queue is not accessible

Open Mahoney opened this issue 6 years ago • 0 comments

Enhancement

I would like to be able to start a Spring context using the @SqsListener annotation when the SQS queue is not available for whatever reason (network issues, auth issues). It should periodically retry but should not block application context startup whilst it does so.

This would allow a spring boot micro-service to come up and be observable, with a health check failing and explaining why it is failing. At the moment the context fails to start, so the app fails to start.

Mahoney avatar Mar 15 '18 08:03 Mahoney