Class SpringCloudConfigConfiguration

java.lang.Object
org.apache.camel.vault.VaultConfiguration
org.apache.camel.vault.SpringCloudConfigConfiguration

public class SpringCloudConfigConfiguration extends VaultConfiguration
Configuration for Spring Cloud Config
Since:
4.12
  • Constructor Details

    • SpringCloudConfigConfiguration

      public SpringCloudConfigConfiguration()
  • Method Details

    • getPassword

      public @Nullable String getPassword()
    • setPassword

      public void setPassword(@Nullable String password)
      Password for Spring Config Server
    • getUsername

      public String getUsername()
    • setUsername

      public void setUsername(String username)
      Username for Spring Config Server
    • getUris

      public String getUris()
    • setUris

      public void setUris(String uris)
      Comma separated list of Spring Config Server URIs
    • isRefreshEnabled

      public boolean isRefreshEnabled()
    • setRefreshEnabled

      public void setRefreshEnabled(boolean refreshEnabled)
      Whether to automatically reload Camel upon secrets being updated in Spring Config Server.
    • getRefreshPeriod

      public long getRefreshPeriod()
    • setRefreshPeriod

      public void setRefreshPeriod(long refreshPeriod)
      The period (millis) between checking Spring Config Server for updated secrets.
    • getToken

      public @Nullable String getToken()
    • setToken

      public void setToken(@Nullable String token)
      Authentication token for the Config Server
    • getLabel

      public @Nullable String getLabel()
    • setLabel

      public void setLabel(@Nullable String label)
      Config Server label to use (e.g., git branch)
    • getProfile

      public @Nullable String getProfile()
    • setProfile

      public void setProfile(@Nullable String profile)
      Configuration profile to use