Skip to content

Instantly share code, notes, and snippets.

@ddossot
Created November 3, 2011 22:30
Show Gist options
  • Save ddossot/1338110 to your computer and use it in GitHub Desktop.
Save ddossot/1338110 to your computer and use it in GitHub Desktop.
http-server-cid
<flow name="http-server-cid">
<http:inbound-endpoint host="localhost" port="8989" path="server-cid" />
<script:component>
<script:script engine="groovy">message.correlationId=message.id</script:script>
</script:component>
<logger level="INFO" message="#[string:#[context:serviceName] received:#[message:correlationId]]" />
...
</flow>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment