Last active
July 8, 2021 06:44
-
-
Save Asitha/c185878fdc0460c9d8cd to your computer and use it in GitHub Desktop.
Writing to WSO2 registry through ESB script mediator. For more details https://asitha.github.io/cs/programming/gotchas/wso2/2015/09/03/save-content-into-wso2-registry-through-mediators/
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
<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> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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