Migration
Composite Recipes
Recipes that include further recipes, often including the individual recipes below.
- Apply Axon Framework 5 common module renames
- Apply Axon Framework 5 event-sourcing module renames
- Apply Axon Framework 5 messaging module renames
- Apply Axon Framework 5 modelling module renames
- Apply Axon Framework 5 test module renames
- Migrate the Axon Framework BOM coordinates
- Migrate the Dropwizard Metrics extension to Axon Framework 5
- Migrate the Micrometer Metrics extension to Axon Framework 5
- Migrate the Reactor extension to Axon Framework 5
- Migrate the Spring Boot extension to Axon Framework 5
- Migrate the Spring extension to Axon Framework 5
- Upgrade Kotlin to 2.x for Axon Framework 5
- Upgrade to free Axon Framework 5
Recipes
- Add @AfterEach tearDown() that stops the AxonTestFixture
- Add @Command to command payload classes
- Add @EntityCreator to no-arg constructors of event-sourced entities
- Add @Event to event payload classes
- Add @EventTag to the aggregate-identifier field of event payload classes
- Add explicit tagKey and idType to @EventSourced
- Annotate obsolete
axon.eventhandling.processors.<group>.sequencing-policyproperties - Apply Axon Framework 5 serialization → conversion rename
- Convert @CommandHandler constructors to static handle methods
- Convert Kotlin @CommandHandler constructors to a companion-object handle method
- Migrate AggregateTestFixture calls to the AxonTestFixture fluent API
- Migrate AggregateTestFixture setup to AxonTestFixture.with(EventSourcingConfigurer...)
- Migrate Kotlin DSL
mavenBom(...)import (with property indirection) - Migrate MessageHandlerInterceptor / MessageDispatchInterceptor signatures to AF5
- Migrate SequencingPolicy lambdas to the AF5 two-arg, Optional-returning shape
- Migrate SnapshotTriggerDefinition @Bean to @Snapshotting
- Migrate the AMQP extension to Axon Framework 5 (placeholder)
- Migrate the CDI extension to Axon Framework 5 (placeholder)
- Migrate the JGroups extension to Axon Framework 5 (placeholder)
- Migrate the Kafka extension to Axon Framework 5 (placeholder)
- Migrate the Mongo extension to Axon Framework 5 (placeholder)
- Migrate the Multitenancy extension to Axon Framework 5 (placeholder)
- Migrate the OpenTelemetry tracing extension to Axon Framework 5 (placeholder)
- Migrate the OpenTracing tracing extension to Axon Framework 5 (placeholder)
- Migrate the Spring Boot Actuator extension to Axon Framework 5
- Migrate the Spring Cloud extension to Axon Framework 5 (placeholder)
- Remove the unported axon-spring-aot extension
- Remove type arguments from a specific type
- Replace AggregateLifecycle.apply(...) with EventAppender.append(...)
- Replace class-level CommandGateway with method-parameter CommandDispatcher in @EventHandler methods
- Unwrap ResponseTypes wrappers on AF5-shape QueryGateway.query(...) calls
- Upgrade Java compiler target for Axon Framework 5