I configured Proxy Service parameter according to the documentation:
<proxy xmlns="http://ws.apache.org/ns/synapse" name="CQProxy" transports="https,http" statistics="disable" trace="disable" startOnLoad="true">
<target>
...
</target>
<parameter name="TestParam">ParamValue1</parameter>
</proxy>
Now I need to access it from within the sequence. Is there any way to do it?
I tried accessing it using script mediator:
<script language="js">mc.setProperty("TestParamProp", mc.getParameter("TestParam"))</script>
but it throws "Cannot find function getParameter." error.
Please advice.