7.14 CJMSP Broker settings

This section describes the CJMSP Broker settings.

Note that there are two methods by which you specify the CJMSP Broker properties. If you specify different values using multiple methods, the settings are given priority in the order of the numbers described in the following table. We recommend that you use commonconfig.property if you want to specify common settings for all CJMSP Brokers.

Table 7-11 Method of setting up CJMSP Broker properties

PrioritySetting methodLocation of settingsScope of properties
1Setting method using CJMSP Broker Property Fileconfig.property#1Valid only for individual CJMSP Brokers.
2Setting method using CJMSP Broker Common Property Filecommonconfig.property#2Valid for all CJMSP Brokers in the same computer.
#1: Stored in the following directory by default. Note that the var directory can be used after CJMSP Broker is started first. For details on the CJMSP Broker Property File (config.properties), see 7.4 config.properties (CJMSP Broker Property File) in the uCosminexus Application Server Definition Reference Guide.
In Windows
Cosminexus-installation-directory\CC\cjmsp\var\instances\CJMSP-Broker-name\props
In UNIX
/opt/Cosminexus/CC/cjmsp/var/instances/CJMSP-Broker-name/props
#2: Stored in the following directory. For details on the CJMSP Broker Common Property File (commonconfig.properties), see 7.3 commonconfig.properties (CJMSP Broker Common Property File) in the uCosminexus Application Server Definition Reference Guide.
In Windows
Cosminexus-installation-directory\CC\cjmsp\lib\props\broker
In UNIX
/opt/Cosminexus/CC/cjmsp/lib/props/broker

Specify the properties for the output method of the management command (cjmsicmd) log in admin.property. admin.property is stored in the following directory.

For details on admin.properties (management command property file), see 7.2 admin.properties (Management command property file) in the uCosminexus Application Server Definition Reference Guide.

In Windows
Cosminexus-installation-directory\CC\cjmsp\var\admin\config
In UNIX
/opt/Cosminexus/CC/cjmsp/var/admin/config
Note
When you specify the CJMSP Broker settings, do not edit the files other than the following files from among the files beneath the cjmsp directory:
  • config.property
  • commonconfig.property
  • admin.property
Also, do not change the access permissions by using the OS functionality even for these files.
Note that in a system that uses firewalls, you must specify the settings to permit Cosminexus JMS Provider to use ports.
For example, in Windows, usage can be permitted by executing the following command:
netsh firewall add allowedprogram program= "<COSMINEXUS_HOME>/jdk/bin/java.exe" name="Java Virtual Machine" mode=ENABLE.
The port numbers used by Cosminexus JMS Provider are as follows. The string within ( ) (parentheses) is the property that specifies the port number. You can specify the settings in config.property.
  • Port number used by the CJMSP Broker port mapper (imq.portmapper.port)
  • Port number used by the jms service (imq.jms.tcp.port)
  • Port number used by the admin service (imq.admin.tcp.port)
Organization of this section
7.14.1 Setting up the common properties and the management command properties of CJMSP Broker
7.14.2 Creating CJMSP Broker
7.14.3 Setting up the individual properties of CJMSP Brokers
7.14.4 Starting CJMSP Broker
7.14.5 Creating destinations