Created
May 1, 2017 13:38
-
-
Save tmkasun/822f310f395bd10f30e89f0f11eeb239 to your computer and use it in GitHub Desktop.
WSO2 APIM Dynamically Change Endpoint URL Synapse Sequence
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="WSO2AM--Ext--In"> | |
<log level="custom"> | |
<property name="TRACE" value="Inside InSequence"/> | |
</log> | |
<log level="full"/> | |
<property name="uri.var.sub_domain1" expression="get-property('system','environment.sub_domain1')"/> | |
<property name="uri.var.port" expression="get-property('system','environment.port')"/> | |
<log level="custom"> | |
<property name="HOST " expression="$ctx:uri.var.sub_domain1"/> | |
<property name="PORT " expression="$ctx:uri.var.port"/> | |
</log> | |
</sequence> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment