There seems to be a strong preference in the Axon community for using the spring boot configuration of projects. This makes me wonder, what are the right reasons for using the java configuration in a new project instead?
Are these good reasons?
- When creating microservices that only contain domain objects and only interact with the rest of the domain through Axon messages. I think such a microservice will have little benefit from Spring, besides resource injection?
- Are there things that are easier to achieve with the fine-grained java configuration? Perhaps something like replaying the event store to only a certain event handler (for example, to add a new report).
- Anything else?