Hitachi

uCosminexus Service Platform Reference Guide


3.8.1 Message Queue adapter environment-definition file

Organization of this subsection

(1) Format

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
<properties>
  <entry key="adpmq_deffile">Message-Queue-adapter-communication-configuration-definition-file-name</entry>
</properties>

(2) Function

Specifies the environment definition information for a Message Queue adapter in XML format.

Use the following procedure to create a Message Queue adapter environment-definition file and apply it to the runtime environment:

  1. Copy the following template file to any directory, and then define the Message Queue adapter environment-definition file:

    service-platform-installation-directory\CSC\custom-adapter\MQ\config\templates\customadapter_properties.xml

    Save the edited file with the file name customadapter_properties.xml.

  2. Package the defined Message Queue adapter environment-definition file in the HCSC development environment, and then import the package to the runtime environment.

If you have changed the definitions in the Message Queue adapter environment-definition file, perform step 2 to import the file to the runtime environment.

(3) Specifiable elements

<?xml version="1.0" encoding="UTF-8"?>

An XML declaration indicating that this file is an XML file

<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">

An element-type definition declaration indicating a DTD subset

<properties>

The root element of the Message Queue adapter environment definition

<entry key="adpmq_deffile"> ~ Message-Queue-adapter-communication-configuration-definition-file-name

An element that specifies the name of the Message Queue adapter communication-configuration definition file. For the value of this element, specify the name of the Message Queue adapter communication-configuration definition file in which the communication configuration in a runtime environment is specified. For details about the Message Queue adapter communication-configuration definition file, see 3.8.2 Message Queue adapter communication-configuration definition file.