Interface ProcessorDefinition.ProcessorDefinitionSelectorStep<T extends EventProcessorConfiguration>

Type Parameters:
T - The type of EventProcessorConfiguration for this processor.
Enclosing interface:
ProcessorDefinition

public static interface ProcessorDefinition.ProcessorDefinitionSelectorStep<T extends EventProcessorConfiguration>
The second step in the processor definition fluent API for selecting which event handlers should be assigned to the processor.
  • Method Details

    • assigningHandlers

      Defines the selection criteria for event handlers to be assigned to this processor.

      The provided predicate will be evaluated for each event handler component discovered in the Spring context. Handlers for which the predicate returns true will be assigned to this processor.

      Example:

      
       assigningHandlers(descriptor -> descriptor.beanName().startsWith("order"))
       
      Parameters:
      selector - A predicate that determines which event handlers to assign to this processor.
      Returns:
      The next step in the fluent API to configure the processor settings.