-
Bug
-
Resolution: Not a Bug
-
Major
-
None
-
fuse-6.3-R17-GA
-
None
-
False
-
False
-
%
-
-
Undefined
-
Camel-velocity component allows dynamically specifying a template through a header. But it does no longer work in Fuse 6.3 R17. For instance:
from("direct:in") .setHeader("CamelVelocityTemplate") .constant("Hi this is a velocity template that can do templating ${body}") .to("velocity:dummy");
In Fuse 6.3 R17, it throws an error:
java.io.FileNotFoundException: Cannot find resource: dummy in classpath for URI: dummy
at org.apache.camel.util.ResourceHelper.resolveMandatoryResourceAsInputStream(ResourceHelper.java:149)[232:org.apache.camel.camel-core:2.17.0.redhat-630475]
at org.apache.camel.component.ResourceEndpoint.loadResource(ResourceEndpoint.java:104)[232:org.apache.camel.camel-core:2.17.0.redhat-630475]
...