Interface EventProcessorDefinition.SelectorStep<T extends EventProcessorConfiguration>

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

public static interface EventProcessorDefinition.SelectorStep<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 selector will be evaluated for each event handler component discovered in the Spring context. Handlers for which the selector returns true will be assigned to this processor. Note that the EventHandlerSelector describes a number of out-of-the-box selector options that you can use for convenience.

      Example:

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