Package org.apache.camel.core.xml
Class CamelPropertyPlaceholderDefinition
java.lang.Object
org.apache.camel.model.IdentifiedType
org.apache.camel.core.xml.CamelPropertyPlaceholderDefinition
@Metadata(label="spring,configuration")
public class CamelPropertyPlaceholderDefinition
extends org.apache.camel.model.IdentifiedType
Properties placeholder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetDefaultFallbackEnabled(Boolean defaultFallbackEnabled) If false, the component does not attempt to find a default for the key by looking after the colon separator.voidsetEncoding(String encoding) Encoding to use when loading properties file from the file system or classpath.voidList of custom properties function to use.voidsetIgnoreMissingLocation(Boolean ignoreMissingLocation) Whether to silently ignore if a location cannot be located, such as a properties file not found.voidsetLocation(String location) A list of locations to load properties.voidList of property locations to use.voidsetNestedPlaceholder(Boolean nestedPlaceholder) Whether to support nested property placeholders.voidsetPropertiesParserRef(String propertiesParserRef) Reference to a custom PropertiesParser to be usedMethods inherited from class org.apache.camel.model.IdentifiedType
getId, setId
-
Constructor Details
-
CamelPropertyPlaceholderDefinition
public CamelPropertyPlaceholderDefinition()
-
-
Method Details
-
getLocation
-
setLocation
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
-
setEncoding
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 byProperties.load(java.io.InputStream) -
getPropertiesParserRef
-
setPropertiesParserRef
Reference to a custom PropertiesParser to be used -
getDefaultFallbackEnabled
-
setDefaultFallbackEnabled
If false, the component does not attempt to find a default for the key by looking after the colon separator. -
isIgnoreMissingLocation
-
setIgnoreMissingLocation
Whether to silently ignore if a location cannot be located, such as a properties file not found. -
isNestedPlaceholder
-
setNestedPlaceholder
Whether to support nested property placeholders. A nested placeholder, means that a placeholder, has also a placeholder, that should be resolved (recursively). -
getFunctions
-
setFunctions
List of custom properties function to use. -
getLocations
-
setLocations
List of property locations to use.
-