3.16.9 Examples of property file specification

This subsection uses examples to describe how to specify the property files when you execute the message inflow.

The settings with the HITACHI Connector Property file and HITACHI Application Integrated Property File must match the settings at the locations shown in the following figure.

Figure 3-54 Locations specifying the same values in the HITACHI Connector Property file and HITACHI Application Integrated Property File

[Figure]

The specified contents are as follows:

The following points are described based on the content specified from a to c:

Organization of this subsection
(1) For the Message-driven Beans and resource adapters using the javax.jms.MessageListener interface
(2) For the Message-driven Beans and resource adapters using any message listener interface

(1) For the Message-driven Beans and resource adapters using the javax.jms.MessageListener interface

The examples of property file specification when you use the javax.jms.MessageListener interface as the message listener interface are as follows.

The description uses the configuration shown in the following figure as an example. In this example, two Message-driven Beans corresponding to the JMS receive messages from different Administered objects (javax.jms.Queue) respectively.

Figure 3-55 Example configuration of the Message-driven Beans and resource adapter using the javax.jms.MessageListener interface

[Figure]

The following is an example specification of HITACHI Application Integrated Property File.

Figure 3-56 Example specification of HITACHI Application Integrated Property File (for using the javax.jms.MessageListener interface)

[Figure]

The following is a description of the figure:
The points (3) to (5) in the figure correspond to the item numbers described in 3.16.8 Settings for using the resource adapters conforming to the Connector 1.5 specifications. Also, a, b-1, b-2, and c indicate the following settings respectively:
  • a: Interfaces used by the Message-driven Beans
  • b-1, b-2: Mapping of ActivationSpec and Administered object
  • c: Mapping of the Message-driven Beans and resource adapter
Note that the values set up for a, b-1, b-2, and c correspond to Figure 3-56.

The following figure shows an example specification of the HITACHI Connector Property file.

Figure 3-57 Example specification of the HITACHI Connector Property file (for using the javax.jms.MessageListener interface)

[Figure]

The following is a description of the figure:
The points (2) to (4) in the figure correspond to the item numbers described in 3.16.8 Settings for using the resource adapters conforming to the Connector 1.5 specifications. Also, a, b-1, b-2, and c indicate the following settings respectively:
  • a: Interfaces used by the Message-driven Beans
  • b-1, b-2: Mapping of ActivationSpec and Administered object
  • c: Mapping of the Message-driven Beans and resource adapter
Note that the values set up for a, b-1, b-2, and c correspond to Figure 3-57.

(2) For the Message-driven Beans and resource adapters using any message listener interface

The examples of property file specification when you use any interface as the message listener interface are as follows.

The description uses the configuration shown in the following figure as an example.

Figure 3-58 Example configuration of the Message-driven Beans and resource adapter using any message listener interface

[Figure]

In this example, the resource adapter supports the following two unique interfaces:

The following figure shows an example specification of HITACHI Application Integrated Property File.

Figure 3-59 Example specification of HITACHI Application Integrated Property File (for using any message listener interface)

[Figure]

The following is a description of the figure:
The points (3) to (5) in the figure correspond to the item numbers described in 3.16.8 Settings for using the resource adapters conforming to the Connector 1.5 specifications. Also, a-1, a-2, b, and c indicate the following settings respectively:
  • a-1, a-2: Interfaces used by the Message-driven Beans
  • b: Mapping of ActivationSpec and Administered object
  • c: Mapping of the Message-driven Beans and resource adapter
Note that the values set up for a-1, a-2, b, and c correspond to Figure 3-59.

The following figure shows an example specification of the HITACHI Connector Property file.

Figure 3-60 Example specification of the HITACHI Connector Property file (for using any message listener interface)

[Figure]

The following is a description of the figure:
The points (2) to (4) in the figure correspond to the item numbers described in 3.16.8 Settings for using the resource adapters conforming to the Connector 1.5 specifications. Also, a-1, a-2, b, and c indicate the following settings respectively:
  • a-1, a-2: Interfaces used by the Message-driven Beans
  • b: Mapping of ActivationSpec and Administered object
  • c: Mapping of the Message-driven Beans and resource adapter
Note that the values set up for a-1, a-2, b, and c correspond to Figure 3-60.