Hello.
So, colleagues, because you do not respond to my post, I tried to implement this decision by ьнself.
The fact that I came out in the attachment.
I marked my changes as TODO
Here is an example of usage:
HTML Code:
<header-enricher>
<header name="logId" ref="logRequestResponseAction" method="log"/>
<header name="TEST_HEADER">
<groovy:script>
<![CDATA[
new XmlParser().parseText(headers.requestXml).with {
return new Date(Date.parse("yyyy-MM-dd'T'HH:mm:ss", headerData.messageDescription.requestDate.text()).time + 300 * 1000)
}
]]>
</groovy:script>
</header>
</header-enricher>
I think this functionality could be useful.
Best wishes.
Artem