It appears that the @Profile settings for the AWSSqsConfig vs the AWSSqsTestConfig are clashing unless we provide both the test and docker-integration-test profiles when running the application.
We just need to use more sensible profile expressions to prevent them from clashing with each other.
I also noted that we're not annotating the sqs beans with a shutdown method like spring does in SqsClientConfiguration and we should try to be as similar as possible as we are rolling our own.
It appears that the @Profile settings for the AWSSqsConfig vs the AWSSqsTestConfig are clashing unless we provide both the test and docker-integration-test profiles when running the application.
We just need to use more sensible profile expressions to prevent them from clashing with each other.
I also noted that we're not annotating the sqs beans with a shutdown method like spring does in SqsClientConfiguration and we should try to be as similar as possible as we are rolling our own.