Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
-
Unknown
Description
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);
Attachments
Issue Links
- links to