This might be a silly attempt or I might be over complicating things here.
I am trying to create a custom maven dependency containing an Amazon SQS to be used in other projects.
The idea is to have a single dependency wrapping up several dependencies which are used to create and configure an Amazon SQS in a Spring Boot application.
Properties such as queueName, region, credentials, etc. should be able configured in the application.properties file of the destination project.
I have created and simple project with Spring Boot Cloud and AWS dependecies and configured it to have an Amazon SQS with externalized configuration properties.
The externalized custom properties are accessible from the destination application.
But, I am lost on retrieving or accessing the created sqs instance in the destination application.
Any help or insight is welcome. Thank you!!!