Velocity templates not replacing variable references of Camel exchange properties

Solution Verified - Updated -

Issue

The Velocity component ignores the references for the Camel exchange properties. This was working previously on Camel 2.x / Fuse 7.x

The property is defined like ${exchange.properties.nameofproperty}

Environment

  • Camel 3.x
  • Red Hat Integration-Camel for Spring Boot
  • Camel Starter for Velocity Component is defined on pom.xml

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content