Class EventProcessorProperties
java.lang.Object
org.axonframework.extension.springboot.EventProcessorProperties
Properties describing the settings for Event Processors.
- Since:
- 3.0
- Author:
- Allard Buijze
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classConfiguration for the Dead-letter-queue (DLQ).static classConfiguration for the Dead-Letter-Queue Caching.static enumThe processing modes of anEventProcessor.static classProcessor settings. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the settings for each of the configured processors, by name.static Map<String, EventProcessorSettings> getProcessors(org.springframework.core.env.Environment environment) Provides ProcessorSettings per processor name via Environment.
-
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
EnvironmentandBinderto 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.ProcessorSettingsper 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.
-