Remove @Bean methods that return a default SimpleCommandBus

Proprietary

A @Bean method whose body only returns SimpleCommandBus.builder().build(), directly or through a local variable, is removed. Axon Framework 5's axon-spring-boot-starter has no Axon Server connector and its autoconfiguration creates a simple command bus, with the interceptor beans registered on it. Axon Framework 5's SimpleCommandBus has no builder. This is part of the migration to the free Axon Framework 5 only: with Axoniq Framework's Axon Server connector the default command bus is distributed.

io.moderne.axon.RemoveSimpleCommandBusBean
mod run . --recipe=io.moderne.axon.RemoveSimpleCommandBusBean

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.