Class SubscribingEventProcessorsConfigurer

java.lang.Object
org.axonframework.messaging.eventhandling.processing.subscribing.SubscribingEventProcessorsConfigurer

public class SubscribingEventProcessorsConfigurer extends Object
A configurer for managing multiple SubscribingEventProcessor instances within an application.

The SubscribingEventProcessorsConfigurer provides a centralized way to configure and register multiple subscribing event processing. It acts as a container that manages individual SubscribingEventProcessorModule instances, allowing you to set shared defaults that apply to all processing while enabling processor-specific customizations.

The main purpose is to simplify the configuration of multiple event processing by providing shared configuration capabilities such as default SubscribableEventSource, and processor settings that apply to all processing unless explicitly overridden.

The configurer automatically configures default components:

This configurer is typically accessed through EventProcessingConfigurer.pooledStreaming(UnaryOperator) rather than being instantiated directly.

Since:
5.0.0
Author:
Mateusz Nowak