Class PostgresqlProperties

java.lang.Object
io.axoniq.framework.springboot.PostgresqlProperties

@ConfigurationProperties("axon.postgresql") public class PostgresqlProperties extends Object
Properties for configuring the Axon Framework PostgreSQL extension.

These properties are bound to the axon.postgresql prefix.

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

    • PostgresqlProperties

      public PostgresqlProperties()
  • Method Details

    • isEnabled

      public boolean isEnabled()
      Returns whether the PostgreSQL extension is enabled.
      Returns:
      true if enabled, false otherwise
    • setEnabled

      public void setEnabled(boolean enabled)
      Sets whether the PostgreSQL extension is enabled.
      Parameters:
      enabled - true to enable, false to disable
    • getSchemaInitialization

      public SchemaInitialization getSchemaInitialization()
      Returns how the engine should handle a missing or incomplete schema on startup.
      Returns:
      the configured SchemaInitialization
    • setSchemaInitialization

      public void setSchemaInitialization(SchemaInitialization schemaInitialization)
      Sets how the engine should handle a missing or incomplete schema on startup.
      Parameters:
      schemaInitialization - the SchemaInitialization to use, cannot be null