Class SubscribingEventProcessor

java.lang.Object
org.axonframework.eventhandling.AbstractEventProcessor
org.axonframework.eventhandling.SubscribingEventProcessor
All Implemented Interfaces:
EventProcessor, Lifecycle, MessageHandlerInterceptorSupport<EventMessage<?>>

public class SubscribingEventProcessor extends AbstractEventProcessor implements Lifecycle
Event processor implementation that subscribes to the EventBus for events. Events published on the event bus are supplied to this processor in the publishing thread.

Depending on the given EventProcessingStrategy the events are processed directly (in the publishing thread) or asynchronously.

Since:
3.0
Author:
Rene de Waele