Class PostgresqlAutoConfiguration

java.lang.Object
io.axoniq.framework.springboot.autoconfig.PostgresqlAutoConfiguration

@AutoConfiguration(afterName="io.axoniq.framework.springboot.autoconfig.AxonServerAutoConfiguration", beforeName="org.axonframework.extension.springboot.autoconfig.JpaEventStoreAutoConfiguration") @ConditionalOnClass(PostgresqlEventStorageEngine.class) @EnableConfigurationProperties(PostgresqlProperties.class) public class PostgresqlAutoConfiguration extends Object
Autoconfiguration class for the Axon Framework PostgreSQL extension.

Note that the PostgresqlConfigurationEnhancer already sets this extension's defaults, like the PostgresqlEventStorageEngine, through the service-loading mechanism. This autoconfiguration provides the ability to disable the PostgresqlConfigurationEnhancer by setting the axon.postgresql.enabled property to false, and to translate axon.postgresql.schema-initialization into the SchemaInitialization the engine is constructed with.

Since:
5.1.0
Author:
Steven van Beelen, John Hendrikx
  • Constructor Details

    • PostgresqlAutoConfiguration

      public PostgresqlAutoConfiguration()
  • Method Details