Created
August 26, 2013 20:10
-
-
Save ddossot/6346057 to your computer and use it in GitHub Desktop.
Raw HTTP Proxy (Mule)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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