Hi,

I have a question about the Simple language and the use of ${}.

Before Camel 3 this worked in getting data from the object in the header:
.setHeader('tableName').simple('headers.entityMap.sourceTableName’)
.setHeader('fields').simple('headers.entityMap.sourceFields')

In Camel 3.1.0 this no longer works and I get the string in my new headers.

In the migration documentation I don’t see anything about a change here and 
according the documentation this still seems to be supported.

https://camel.apache.org/components/latest/languages/simple-language.html

“The simple language uses ${body} placeholders for complex expressions where 
the expression contains constant literals. The $\{ } placeholders can be 
omitted if the expression is only the token itself.”

Should this still work in Camel 3?

Kind regards,

Remco Schoen

P.S. I haven’t had time yet to research the upgrade to Camel 3.2.0, sorry.

Reply via email to