org.axonframework.spring.config.EnableHandlerSubscription Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of axon-spring Show documentation
Show all versions of axon-spring Show documentation
Module providing Spring specific helper functionality to ease configuration / set-up of an Axon application, as
well as some Spring specific infrastructure components.
package org.axonframework.spring.config;
import org.springframework.context.annotation.Import;
import java.lang.annotation.*;
/**
* @author Allard Buijze
*/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import(MessageHandlerSubscriberDefinitionRegistrar.class)
public @interface EnableHandlerSubscription {
boolean subscribeCommandHandlers() default true;
boolean subscribeEventListeners() default true;
String eventBus() default "";
boolean subscribeEventProcessors() default true;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy