Class SubscribingEventProcessor.Builder

java.lang.Object
org.axonframework.eventhandling.AbstractEventProcessor.Builder
org.axonframework.eventhandling.SubscribingEventProcessor.Builder
Enclosing class:
SubscribingEventProcessor

public static class SubscribingEventProcessor.Builder extends AbstractEventProcessor.Builder
Builder class to instantiate a SubscribingEventProcessor.

The RollbackConfigurationType defaults to a RollbackConfigurationType.ANY_THROWABLE, the ErrorHandler is defaulted to a PropagatingErrorHandler, the MessageMonitor defaults to a EventProcessorSpanFactory is defaulted to a DefaultEventProcessorSpanFactory backed by a NoOpSpanFactory, the MessageMonitor defaults to a NoOpMessageMonitor, the EventProcessingStrategy defaults to a DirectEventProcessingStrategy and the TransactionManager defaults to the NoTransactionManager.INSTANCE. The Event Processor name, EventHandlerInvoker and SubscribableMessageSource are hard requirements and as such should be provided.