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 Type
    Method
    Description
    void
    Configure this module to the given global Configurer.
    default int
    Returns the relative order this configurer should be invoked, compared to other intstances.
  • Method Details

    • configureModule

      void configureModule(@Nonnull Configurer configurer)
      Configure this module to the given global Configurer.
      Parameters:
      configurer - a Configurer instance 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