I am trying to set the value of a header in a route like:
...
<c:log message="${body.get('properties').get('Dhis2UID')}" />
<c:setHeader headerName="uid"
><c:constant>${body.get('properties').get('Dhis2UID')}</c:constant></c:setHeader>
...
The log message displays the expected value.
But the header is being populated with the literal text
"${body.get('properties').get('Dhis2UID')}".
Any idea what I am doing wrong?
Regards
Bob
