Open pmauduit opened 1 month ago
I am also questioning myself about the added value of the following class: https://github.com/georchestra/georchestra-gateway/blob/main/gateway/src/main/java/org/georchestra/gateway/accounts/events/rabbitmq/RabbitmqEventsListener.java
It is not dead code though, but apart from parsing the message from rabbitMq and logging it, no other action is performed. I guess the intent was first to acknowledge the fact that an action had been performed console-side, but maybe we could just discard the need for a listener here, or maybe keeping it as it is for future usage ?
It would be a more "spring-boot'-ish approach to use configuration classes, instead of the 2 xml configuration files from the classpath: