Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Not A Problem
-
2.15.2
-
None
-
None
-
Unknown
Description
Specifying the a velocity template via the CamelVelocityResourceUri does not work correctly if the velocity: URI used contains a character that is URL encoded.
For example:
from("direct:input") .setHeader(VelocityConstants.VELOCITY_RESOURCE_URI).constant("velocity/letter.vm") .to("velocity:[template-in-header]") .to("mock:results");
Results in: java.io.FileNotFoundException: Cannot find resource: [template-in-header] in classpath for URI: [template-in-header]