Package dk.cloudcreate.essentials.reactive.spring
package dk.cloudcreate.essentials.reactive.spring
-
ClassDescriptionAnnotate an
EventHandler/AnnotatedEventHandlerwith this annotation to have theEventHandlerbe registered as an asynchronous event-handler with the defaultLocalEventBus(default is registering them as a synchronous event handler).When using Spring or Spring Boot it will be easier to register theEventBus,CommandBus,CommandHandlerandEventHandlerinstances as @Bean or @Component and automatically have theCommandHandlerbeans registered as with the singleCommandBusbean and theEventHandlerbeans registered as subscribers with one or moreEventBusbeans.