Migrate the default kind of Axon event processor
ProprietaryAxon Framework 5's EventProcessingConfigurer has no usingTrackingEventProcessors(), usingPooledStreamingEventProcessors() or usingSubscribingEventProcessors(). The first two are removed, since Axon Framework 5's default processor is the pooled streaming one, which took the tracking processor's place. An @Autowired method that only called usingSubscribingEventProcessors() becomes an EventProcessorDefinition bean that assigns every event handler to one subscribing processor, where Axon Framework 4 gave each processing group a subscribing processor of its own. Both process an event in the thread that published it. An @Autowired method left empty is removed.
io. moderne. axon. MigrateEventProcessorModemod run . --recipe= io. moderne. axon. MigrateEventProcessorModeInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.