This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.

Managing Symbolic Links



A symbolic link to a registry can be created in the following manner. The same code can be used to mount a registry to a specific location. If a remote registry needs to be mounted, the same method can be used with an extra parameter.

registry.createLink("/config", "/_system/config");

registry.createLink("/config", "/_system/config", "http://remote.registry.url/);

A symbolic link or a mount point of a registry created above can be removed using the following line of code:

registry.removeLink("/config");

 

See also Link Creation to learn more information about symbolic links.