Skip to content

Instantly share code, notes, and snippets.

@Asitha
Last active July 8, 2021 06:44
Show Gist options
  • Save Asitha/c185878fdc0460c9d8cd to your computer and use it in GitHub Desktop.
Save Asitha/c185878fdc0460c9d8cd to your computer and use it in GitHub Desktop.
<script language="js"><![CDATA[
importPackage(Packages.org.apache.synapse.config);
mc.getConfiguration().getRegistry().newResource("conf:/wsdl/myWSDL",false);
mc.getConfiguration().getRegistry().updateResource(
"conf:/wsdl/myWSDL", mc.getProperty("MyProperty").toString());
]]></script>
@srinivaskancharla
Copy link

srinivaskancharla commented Jul 7, 2021

What is the product you are using this with?

WSO2MI 4.0.0 + custom carbonApps(cars) + custom jars with Java 1.8.0_292 on Kubernetes.
This was working code piece with wso2esb 4.9.0.zip(non containerzed), we migrated to WSO2MI with container/kubernetes deployment.

Appreciate your help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment