Hi Wayne
For the benefit of others I have collected the info I found elsewhere and some
experimentation in one place to show how it's done:
Thank you for sharing this with the other users, you can even submit
this to the community site http://esbsite.org where it would be easier
for new users to find this out without having to search through archives.
Repository XML:
<x><![CDATA[
static void mediate (mc) {
mc.setPayloadXML('''<hello xmlns="http://grails-exchange.com
"><to>Everyone</to><from>Paul</from></hello>''')
}
]]></x>
Notice there needs to be a root tag
This is because the built-in simple registry only supports XML
resources. So any XML tag will work..
asankha