@Metadata(label="spring,configuration")
public class CamelPropertyPlaceholderDefinition
extends org.apache.camel.model.IdentifiedType
| Constructor and Description |
|---|
CamelPropertyPlaceholderDefinition() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getDefaultFallbackEnabled() |
String |
getEncoding() |
List<CamelPropertyPlaceholderFunctionDefinition> |
getFunctions() |
String |
getLocation() |
List<CamelPropertyPlaceholderLocationDefinition> |
getLocations() |
String |
getPropertiesParserRef() |
Boolean |
isIgnoreMissingLocation() |
void |
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 |
setFunctions(List<CamelPropertyPlaceholderFunctionDefinition> functions)
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 |
setLocations(List<CamelPropertyPlaceholderLocationDefinition> locations)
List of property locations to use.
|
void |
setPropertiesParserRef(String propertiesParserRef)
Reference to a custom PropertiesParser to be used
|
public String getLocation()
public void setLocation(String location)
public String getEncoding()
public void setEncoding(String encoding)
Properties.load(java.io.InputStream)public String getPropertiesParserRef()
public void setPropertiesParserRef(String propertiesParserRef)
public Boolean getDefaultFallbackEnabled()
public void setDefaultFallbackEnabled(Boolean defaultFallbackEnabled)
public Boolean isIgnoreMissingLocation()
public void setIgnoreMissingLocation(Boolean ignoreMissingLocation)
public List<CamelPropertyPlaceholderFunctionDefinition> getFunctions()
public void setFunctions(List<CamelPropertyPlaceholderFunctionDefinition> functions)
public List<CamelPropertyPlaceholderLocationDefinition> getLocations()
public void setLocations(List<CamelPropertyPlaceholderLocationDefinition> locations)
Apache Camel