those who have attended the Webinar already know. If you haven’t, here is the news: milestone 4 of the Axon 3.0 release is available.
It solves a few minor issues that came up in milestone 3, such as the NullPointerException when Axon wasn’t able to resolve a parameter type on an annotated handler.
A few classes have been moved to packages where they make more sense. While they’re mostly internal classes, you might have to reimport certain classes.
Snapshotting has been re-introduced, using a new API. Configuration of snapshotting is similar to the old way, albeit simpler. Especially when used in combination with caching.
The biggest introduction is the Configuration API. It allows you to quickly set up the Axon Infrastructure and only configure the exceptions to the default. Configuring the infrastructure for an Event Sourced Aggregate (Repository, AggregateAnnotationCommandHandler, etc) is only a single statement: configureAggregate(MyAggregate.class). In Spring, it takes as much as a single annotation on your Aggregate Root.
The milestone 4 release has been published in Maven Central, so all you need to do is update your maven/gradle dependencies to 3.0-M4.
If you missed the webinar, it has been published on YouTube: https://www.youtube.com/watch?v=s2zH7BsqtAk
Have fun. As always, we welcome all feedback.
Meanwhile, we’ll be working on getting Axon 3 to the RC stage…