Class EventProcessorProperties

java.lang.Object
org.axonframework.extension.springboot.EventProcessorProperties

@ConfigurationProperties("axon.eventhandling") public class EventProcessorProperties extends Object
Properties describing the settings for Event Processors.
Since:
3.0
Author:
Allard Buijze
  • Constructor Details

    • EventProcessorProperties

      public EventProcessorProperties()
  • Method Details

    • getProcessors

      @Internal public static Map<String,EventProcessorSettings> getProcessors(org.springframework.core.env.Environment environment)
      Provides ProcessorSettings per processor name via Environment.

      This is required due to changes on how spring boot 4 loads configurations properties. If the application configures WebMvc we get cyclic application context. By using Environment and Binder to manually create the processors map we avoid this problem. See issue #4010 for details.

      Parameters:
      environment - The spring boot environment.
      Returns:
      The map of EventProcessorProperties.ProcessorSettings per processor name.
    • getProcessors

      Returns the settings for each of the configured processors, by name.
      Returns:
      the settings for each of the configured processors, by name.