Contents

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

JMX Operations
JMX operations have been provided on 'MQDefObjCreator' MBean to validate Admin Objects XML file, to extract the existing Admin Objects configurations in the form of an XML file, and also provision to load the configurations through JMX api in addition to the way they are loaded during the server startup.

  • getAdminObjConfigs (String ConfigFile): Loads the modified or newly created admin objects (Destinations, Connection Factories, Security) and their configurations as per the schema under the active server's profile directory.

    Tip

    ConfigFile is the XML filename to which the configurations are persisted. The file is by default saved to $Fiorano_Home/fmq/profiles/<profile_name> directory.

  • validateConfig (String configFilePath): The API can be used for validating the given XML file against the Schema files located at $Fiorano_Home/fmq/profiles/Schema directory.
  • ConfigFilePath: Path of the XML configuration file to validate.

     

Returns 'true' if the file is successfully validated and 'false' if it is unsuccessful. The corresponding errors logs when a validation fails can be found in 'MQAdminObjects.out' log file.

  • configureAdminObjs(String configFile): The API can be used for configuring Admin objects by providing the path for XML file. The XML file is configured after validating it against the schema.
  • configFile: Path of the XML configuration file to validate and configure.

...

Adaptavist ThemeBuilder EngineAtlassian Confluence