tyro / rabbit-amazon-bridge

A service that routes JSON messages back and forth between AWS and rabbitmq
Apache License 2.0
18 stars 6 forks source link

Test SQS Profile isn't being picked up #50

Closed maccac closed 5 years ago

maccac commented 5 years ago

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.