Skip to content

Instantly share code, notes, and snippets.

@ddossot
Created November 3, 2011 22:50
Show Gist options
  • Save ddossot/1338167 to your computer and use it in GitHub Desktop.
Save ddossot/1338167 to your computer and use it in GitHub Desktop.
http-client-cid
<flow name="http-client-cid">
<http:inbound-endpoint host="localhost" port="8989" path="client-cid" />
<script:component>
<script:script engine="groovy">message.correlationId=message.getInboundProperty('X-CID')</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