Configurer
instance returned by the .defaultConfiguration()
method.registerCommandBus
invocation. The c
parameter of this expression is the configuration object that described the complete configuration. If your component requires any other components to function properly, it can use this configuration to retrieve them.configurer.registerComponent(componentType, builderFunction)
. The builder function will receive the Configuration
object as input parameter.Configurer
. Instead, you can simply put the @EnableAxon
on one of your Spring @Configuration
classes.Configurer
, in Spring you just have to make them available in the Application Context as @Bean
s.