Skip to content

Instantly share code, notes, and snippets.

@johndemic
Created March 30, 2012 16:58
Show Gist options
  • Save johndemic/2252917 to your computer and use it in GitHub Desktop.
Save johndemic/2252917 to your computer and use it in GitHub Desktop.
<flow name="httpProxyFlow">
<http:inbound-endpoint address="http://localhost:8081/foo/profile/user" exchange-pattern="request-response"/>
<http:outbound-endpoint
address="http://foo.com/url/#[groovy:message.getInboundProperty('http.request').split('/foo/profile/user')[1]]"/>
</flow>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment