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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setDefaultFallbackEnabled
(Boolean defaultFallbackEnabled) If false, the component does not attempt to find a default for the key by looking after the colon separator.void
setEncoding
(String encoding) Encoding to use when loading properties file from the file system or classpath.void
List of custom properties function to use.void
setIgnoreMissingLocation
(Boolean ignoreMissingLocation) Whether to silently ignore if a location cannot be located, such as a properties file not found.void
setLocation
(String location) A list of locations to load properties.void
List of property locations to use.void
setNestedPlaceholder
(Boolean nestedPlaceholder) Whether to support nested property placeholders.void
setPropertiesParserRef
(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.
-