The local registry acts as a memory registry where you can store text strings, XML strings, and URLs. These entries can be retrieved from a mediator.
WSO2 ESB allows to add, edit and delete local registry entries easily.
Local Registry/Local Entries
<localEntry> element is used to declare registry entries that are local to the ESB instance as shown below:
These entries are top level entries which are globally visible within the entire system. Values of these entries can be retrieved via the extension XPath function
synapse:get-property(prop-name) and the keys of these entries could be specified wherever a registry key is expected within the configuration.
An entry can be static text specified as inline text or static XML specified as an inline XML fragment or specified as a URL (using the
src attribute). A local entry shadows any entry with the same name from a remote Registry.
Local entries can be defined in the top level
synapse.xml file or in the
For more information, see Working with the Registry.