The messaging package is using an XML file to define and configure beans, Active MQ queues, connections and JMS listeners. This is an obsolete way of working with Spring and should be modernized for improved readability.
The persistence package does the same for its repositories, db connections and transaction managers.
What
Replaces the bean definition XML files with annotation-based definition and injection of Spring beans. Also moves configuration from XML into the application.properties file.
This PR does not replace the Hibernate XML mapping files. Due to the complexity of this, it will be left for a future PR.
Why
The messaging package is using an XML file to define and configure beans, Active MQ queues, connections and JMS listeners. This is an obsolete way of working with Spring and should be modernized for improved readability. The persistence package does the same for its repositories, db connections and transaction managers.
What
Replaces the bean definition XML files with annotation-based definition and injection of Spring beans. Also moves configuration from XML into the application.properties file.
This PR does not replace the Hibernate XML mapping files. Due to the complexity of this, it will be left for a future PR.