Remove @Bean methods that configure XStream for Axon Framework 4's serializer
ProprietaryA @Bean method without parameters that creates an XStream, only calls XStream methods on it, such as addPermission or allowTypesByWildcard, and returns it, is removed. Axon Framework 4's Spring Boot autoconfiguration built its XStreamSerializer around that bean. Axon Framework 5 converts with Jackson, neither it nor Axoniq Framework reads an XStream bean, and XStream is no longer on the classpath. A repository that uses XStream anywhere else is left alone. Axoniq Framework's axoniq-legacy module has an XStreamConverter to read the sagas, deadlines and scheduled events Axon Framework 4 stored, which a person configures where AxonIQ's recipes leave a TODO(axon4to5).
io. moderne. axon. RemoveXStreamBeanmod run . --recipe= io. moderne. axon. RemoveXStreamBeanInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.