Class VelocityEndpointBuilderFactory.VelocityHeaderNameBuilder
- java.lang.Object
-
- org.apache.camel.builder.endpoint.dsl.VelocityEndpointBuilderFactory.VelocityHeaderNameBuilder
-
- Enclosing interface:
- VelocityEndpointBuilderFactory
public static class VelocityEndpointBuilderFactory.VelocityHeaderNameBuilder extends Object
The builder of headers' name for the Velocity component.
-
-
Constructor Summary
Constructors Constructor Description VelocityHeaderNameBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
velocityContext()
The velocity context to use.String
velocityResourceUri()
The name of the velocity template.String
velocitySupplementalContext()
To add additional information to the used VelocityContext.String
velocityTemplate()
The content of the velocity template.
-
-
-
Method Detail
-
velocityResourceUri
public String velocityResourceUri()
The name of the velocity template. The option is a:String
type. Group: producer- Returns:
- the name of the header
VelocityResourceUri
.
-
velocityTemplate
public String velocityTemplate()
The content of the velocity template. The option is a:String
type. Group: producer- Returns:
- the name of the header
VelocityTemplate
.
-
velocityContext
public String velocityContext()
The velocity context to use. The option is a:org.apache.velocity.context.Context
type. Group: producer- Returns:
- the name of the header
VelocityContext
.
-
velocitySupplementalContext
public String velocitySupplementalContext()
To add additional information to the used VelocityContext. The value of this header should be a Map with key/values that will added (override any existing key with the same name). This can be used to pre setup some common key/values you want to reuse in your velocity endpoints. The option is a:Map<String, Object>
type. Group: producer- Returns:
- the name of the header
VelocitySupplementalContext
.
-
-