Class InfrastructureAutoConfiguration

java.lang.Object
org.axonframework.extension.springboot.autoconfig.InfrastructureAutoConfiguration

@AutoConfiguration public class InfrastructureAutoConfiguration extends Object
Infrastructure autoconfiguration class for Axon Framework application. Constructs the look-up components, like the MessageHandlerLookup and SpringEventSourcedEntityLookup to find Axon components and register them with the corresponding configuration enhancers.
Since:
3.0.4
Author:
Allard Buijze
  • Constructor Details

    • InfrastructureAutoConfiguration

      public InfrastructureAutoConfiguration()
  • Method Details

    • messageHandlerLookup

      @Role(2) @Bean public static MessageHandlerLookup messageHandlerLookup()
      Provides Spring message handler lookup.
      Returns:
      The lookup for annotations for later message handling registrations.
    • springEventSourcedEntityLookup

      @Role(2) @Bean public static SpringEventSourcedEntityLookup springEventSourcedEntityLookup()
      Provides a Spring aggregate lookup.
      Returns:
      The lookup scanning for annotations for later entity registrations.