Interface EventHandlingComponentsConfigurer.ComponentsPhase

All Known Subinterfaces:
EventHandlingComponentsConfigurer.AdditionalComponentPhase, EventHandlingComponentsConfigurer.RequiredComponentPhase
All Known Implementing Classes:
DefaultEventHandlingComponentsConfigurer
Enclosing interface:
EventHandlingComponentsConfigurer

public static interface EventHandlingComponentsConfigurer.ComponentsPhase
Phase that allows configuring event handling components.
  • Method Details

    • declarative

      Deprecated, for removal: This API element is subject to removal in a future version.
      Use declarative(String, ComponentBuilder) to provide an explicit component name. When no name is provided, the component receives its registration index as the name. Note that the generated index may differ across environments or application restarts, so it should not be relied upon for stable identification (e.g., in dead letter queues).
      Configures a single event handling component with an auto-generated index-based name.
      Parameters:
      handlingComponentBuilder - The component to configure.
      Returns:
      The complete phase for decoration and finalization.
    • declarative

      Configures a single event handling component.
      Parameters:
      componentName - The unique component name.
      handlingComponentBuilder - The component to configure.
      Returns:
      The complete phase for decoration and finalization.
    • autodetected

      Deprecated, for removal: This API element is subject to removal in a future version.
      Use autodetected(String, ComponentBuilder) to provide an explicit component name. When no name is provided, the component receives its registration index as the name. Note that the generated index may differ across environments or application restarts, so it should not be relied upon for stable identification (e.g., in dead letter queues).
      Configures an auto-detected event handling component with an auto-generated index-based name.
      Parameters:
      handlingComponentBuilder - The component builder.
      Returns:
      The additional component phase for further configuration.
    • autodetected

      default EventHandlingComponentsConfigurer.AdditionalComponentPhase autodetected(String componentName, ComponentBuilder<Object> handlingComponentBuilder)
      Configures an auto-detected event handling component.
      Parameters:
      componentName - The unique component name.
      handlingComponentBuilder - The component builder.
      Returns:
      The additional component phase for further configuration.