James Netherton created CAMEL-15548:
---------------------------------------
Summary: Enable shortened way to access headers in mvel templates
Key: CAMEL-15548
URL: https://issues.apache.org/jira/browse/CAMEL-15548
Project: Camel
Issue Type: Improvement
Reporter: James Netherton
Assignee: James Netherton
Fix For: 3.6.0
When using mvel, it seems there is no short way of accessing headers. You
always have to go via the exchange message object. E.g:
return "The result is " + (request.headers.numA + request.headers.numB);
It'd be nicer if it worked like most of the other templating components and
have access to a headers object like:
return "The result is " + (headers.numA + headers.numB);
--
This message was sent by Atlassian Jira
(v8.3.4#803005)