Skip to content

Instantly share code, notes, and snippets.

@ddossot
Created August 26, 2013 20:10
Show Gist options
  • Save ddossot/6346057 to your computer and use it in GitHub Desktop.
Save ddossot/6346057 to your computer and use it in GitHub Desktop.
Raw HTTP Proxy (Mule)
<flow name="rawProxy">
<http:inbound-endpoint
address="http://localhost:${http.port}/rest-proxies/raw"
exchange-pattern="request-response" />
<copy-properties propertyName="*" />
<http:outbound-endpoint address="http://localhost:${http.port}/rest/#[message.inboundProperties['http.relative.path']]?#[message.inboundProperties['http.query.string']]"
exchange-pattern="request-response" />
<response>
<copy-properties propertyName="*" />
</response>
</flow>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment