public class FreemarkerComponent
extends org.apache.camel.impl.UriEndpointComponent
Constructor and Description |
---|
FreemarkerComponent() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.camel.Endpoint |
createEndpoint(String uri,
String remaining,
Map<String,Object> parameters) |
freemarker.template.Configuration |
getConfiguration() |
boolean |
isAllowContextMapAll() |
boolean |
isAllowTemplateFromHeader() |
void |
setAllowContextMapAll(boolean allowContextMapAll)
Sets whether the context map should allow access to all details.
|
void |
setAllowTemplateFromHeader(boolean allowTemplateFromHeader)
Whether to allow to use resource template from header or not (default false).
|
void |
setConfiguration(freemarker.template.Configuration configuration)
To use an existing
Configuration instance as the configuration. |
createComponentConfiguration, createParameterConfigurationMap, getEndpointClass, getParameterConfigurationMap, populateParameterConfigurationMap, setEndpointClass
afterConfiguration, createConfiguration, createEndpoint, doStart, doStop, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, getExtension, getSupportedExtensions, ifStartsWithReturnRemainder, isResolvePropertyPlaceholders, preProcessUri, registerExtension, registerExtension, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setCamelContext, setProperties, setProperties, setResolvePropertyPlaceholders, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURI
protected org.apache.camel.Endpoint createEndpoint(String uri, String remaining, Map<String,Object> parameters) throws Exception
createEndpoint
in class org.apache.camel.impl.DefaultComponent
Exception
public freemarker.template.Configuration getConfiguration()
public void setConfiguration(freemarker.template.Configuration configuration)
Configuration
instance as the configuration.public boolean isAllowTemplateFromHeader()
public void setAllowTemplateFromHeader(boolean allowTemplateFromHeader)
public boolean isAllowContextMapAll()
public void setAllowContextMapAll(boolean allowContextMapAll)
Apache Camel