Class VelocityEndpointBuilderFactory.VelocityHeaderNameBuilder
java.lang.Object
org.apache.camel.builder.endpoint.dsl.VelocityEndpointBuilderFactory.VelocityHeaderNameBuilder
- Enclosing interface:
- VelocityEndpointBuilderFactory
The builder of headers' name for the Velocity component.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe velocity context to use.The name of the velocity template.To add additional information to the used VelocityContext.The content of the velocity template.
-
Constructor Details
-
VelocityHeaderNameBuilder
public VelocityHeaderNameBuilder()
-
-
Method Details
-
velocityResourceUri
The name of the velocity template. The option is a:String
type. Group: producer- Returns:
- the name of the header
VelocityResourceUri
.
-
velocityTemplate
The content of the velocity template. The option is a:String
type. Group: producer- Returns:
- the name of the header
VelocityTemplate
.
-
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
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
.
-