Package org.axonframework.config
Interface ConfigurerModule
- All Known Implementing Classes:
DeadLetterQueueProviderConfigurerModule,MessageHandlerConfigurer,MetricsConfigurerModule,MetricsConfigurerModule,ServerConnectorConfigurerModule,SpringAggregateConfigurer,SpringSagaConfigurer,UpdateCheckerConfigurerModule
public interface ConfigurerModule
Interface describing a configurer for a module in the Axon Configuration API. Allows the registration of modules on
the
Configurer like the MessageMonitor.- Since:
- 3.2
- Author:
- Steven van Beelen
-
Method Summary
Modifier and TypeMethodDescriptionvoidconfigureModule(Configurer configurer) Configure this module to the given globalConfigurer.default intorder()Returns the relative order this configurer should be invoked, compared to other intstances.
-
Method Details
-
configureModule
Configure this module to the given globalConfigurer.- Parameters:
configurer- aConfigurerinstance to configure this module with
-
order
default int order()Returns the relative order this configurer should be invoked, compared to other intstances.Use lower (negative) values for modules providing sensible defaults, and higher values for modules overriding values potentially previously set.
- Returns:
- the order in which this configurer should be invoked
-