Universal Messaging 10.5 | Administration Guide | Universal Messaging Administration API | Realm Server Management | Config
 
Config
Universal Messaging Realm servers contain a large number of configurable parameters These parameters can be modified using the nAdminAPI.
The Universal Messaging Realm config can also be managed via the Realm enterprise manager (see Realm Configuration). This also provides a useful guide to the configuration groups and their specific config entities.
nConfigGroup
When connected to a realm, and using a reference to an nRealmNode object (see nRealmNode), you can access configuration objects that correspond to a group of configuration entries. To get access to the config groups, call the following method from a realm node:
Java, C#
Enumeration children = realm.getNodes();
C++
fSortedList nodes = pNode->getNodes();
The enumeration will contain a number of nConfigGroup objects. Each nConfigGroup contains a number of nConfigEntry objects, each one corresponds to a specific configurable parameter in the realm server.
For example, to change the log level of the realm server, we need to obtain the config group called 'Logging Config' and set the 'fLoggerLevel' property:
Java, C#:
nConfigGroup grp = realm.getConfigGroup("Logging Config");

nConfigEntry entry = grp.find("fLoggerLevel");

entry.setValue("0");
C++
nConfigGroup* grp = realm->getConfigGroup("Logging Config");

nConfigEntry* entry = grp->find("fLoggerLevel");

entry->setValue("0");
For a definitive list of available configuration groups and their specific properties please see Realm Configuration in the enterprise manager guide.
For more information on Universal Messaging Administration, please see the API documentation, and the Enterprise Manager Guide.