public class MustacheComponent
extends org.apache.camel.impl.UriEndpointComponent
MustacheEndpoint
.
URI pattern: mustache://template_name.mustache
Supports parameters:
Constructor and Description |
---|
MustacheComponent() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.camel.Endpoint |
createEndpoint(String uri,
String remaining,
Map<String,Object> parameters) |
com.github.mustachejava.MustacheFactory |
getMustacheFactory() |
void |
setMustacheFactory(com.github.mustachejava.MustacheFactory mustacheFactory)
To use a custom
MustacheFactory |
createComponentConfiguration, createParameterConfigurationMap, getEndpointClass, getParameterConfigurationMap, populateParameterConfigurationMap, setEndpointClass
afterConfiguration, createConfiguration, createEndpoint, doStart, doStop, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, ifStartsWithReturnRemainder, preProcessUri, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setCamelContext, setProperties, setProperties, 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 com.github.mustachejava.MustacheFactory getMustacheFactory()
public void setMustacheFactory(com.github.mustachejava.MustacheFactory mustacheFactory)
MustacheFactory
Apache Camel