Error in exchange property mapping to velocity template with Apache Camel upgrade 2.25+

105 Views Asked by At

I did Apache Camel velocity upgrade on my Spring boot application to 2.25.4 Now I am unable to access exchange properties from the velocity template. Just template is retrieved without values.

application works fine with org.apache.camel:camel-velocity:2.24.3 (2.25+ velocity libraries gives this error)

I am using org.apache.velocity.tools.generic.EscapeTool

Following are the relevant dependencies used:

"org.apache.camel:camel-core:2.25.4"
"org.apache.camel:camel-velocity:2.25.4"
"org.apache.velocity:velocity-engine-core:2.3"
"org.apache.velocity.tools:velocity-tools-generic:3.1"

How can I fix this error?

0

There are 0 best solutions below