Class CamelPropertyPlaceholderDefinition


  • @Metadata(label="spring,configuration")
    public class CamelPropertyPlaceholderDefinition
    extends org.apache.camel.model.IdentifiedType
    Properties placeholder
    • Constructor Detail

      • CamelPropertyPlaceholderDefinition

        public CamelPropertyPlaceholderDefinition()
    • Method Detail

      • getLocation

        public String getLocation()
      • setLocation

        public void setLocation​(String location)
        A list of locations to load properties. You can use comma to separate multiple locations. This option will override any default locations and only use the locations from this option.
      • getEncoding

        public String getEncoding()
      • setEncoding

        public void setEncoding​(String encoding)
        Encoding to use when loading properties file from the file system or classpath.

        If no encoding has been set, then the properties files is loaded using ISO-8859-1 encoding (latin-1) as documented by Properties.load(java.io.InputStream)

      • getPropertiesParserRef

        public String getPropertiesParserRef()
      • setPropertiesParserRef

        public void setPropertiesParserRef​(String propertiesParserRef)
        Reference to a custom PropertiesParser to be used
      • getDefaultFallbackEnabled

        public Boolean getDefaultFallbackEnabled()
      • setDefaultFallbackEnabled

        public void setDefaultFallbackEnabled​(Boolean defaultFallbackEnabled)
        If false, the component does not attempt to find a default for the key by looking after the colon separator.
      • isIgnoreMissingLocation

        public Boolean isIgnoreMissingLocation()
      • setIgnoreMissingLocation

        public void setIgnoreMissingLocation​(Boolean ignoreMissingLocation)
        Whether to silently ignore if a location cannot be located, such as a properties file not found.