WSO2 ESB registry Resources List

317 Views Asked by At

Hi i need some help in this issue:

For many reason i have to save some endpoints in my "/_system/config" registry.

In my code i need to get the list of all of them. I know i can get one resource programmatically using the code in the link below and previoulsy knowing its key: http://vvratha.blogspot.it/2013_02_01_archive.html

In particular i'm referring to:

Registry regInstance = synapseMsgContext.getConfiguration()
                .getRegistry();

Object obj = regInstance.getResource(new Entry ("Key"), null);

How can i get all the /_system/config entries List? Really thanks.

1

There are 1 best solutions below

1
On

try like;

 regInstance.getResource(new Entry ("conf:/"), null);