Created
August 27, 2014 05:15
-
-
Save vanjikumaran/8a029ae5850f2dbc91f7 to your computer and use it in GitHub Desktop.
GetHeaderDetail.xml
This file contains 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
<sequence xmlns="http://ws.apache.org/ns/synapse" name="main"> | |
<in> | |
<filter xmlns:ns="http://org.apache.synapse/xsd" source="get-property('To')" regex=".*/StockQuote.*"> | |
<then> | |
<send> | |
<endpoint> | |
<address uri="http://localhost:9000/services/SimpleStockQuoteService"></address> | |
</endpoint> | |
</send> | |
</then> | |
<else></else> | |
</filter> | |
</in> | |
<out> | |
<log level="custom"> | |
<property xmlns:ns="http://org.apache.synapse/xsd" name="Transport Header Detail" expression="get-property('transport', 'Content-Type')"></property> | |
</log> | |
<send></send> | |
</out> | |
</sequence> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment