Configuring a J2C activation specification for the callout IVP

In the WebSphere® Application Server administrative console, set up the connection information that is already defined in the IVP sample jobs and tasks for the resource adapter to pull callout messages and to reply with responses.

About this task

To use the IMS callout sample IVP, the queue name (or tpipe) where synchronous callout requests are queued must be set to IVPPIPE4. This tpipe value is already defined in IMS OTMA destination descriptor. You also need to obtain the IMS host name and port number where IMS Connect is running, and the data store name.

To create and configure a J2C activation specification in WebSphere Application Server:

Procedure

  1. Create a J2C specification for the IMS TM resource adapter.
    1. In the administrative console, select Resources > Resource Adapters > J2C activation specifications in the navigation pane.
    2. Click New in the content pane.
      A Configuration tab displays.
    3. Select the IMS TM resource adapter from the list.
      The Message listener type field at the bottom of this page is automatically populated based on the selection.
    4. Specify a name for this J2C activation specification.
      For example, IMSICOCalloutIVP.
    5. Type the JNDI name.
      For example, eis/IMSICOCalloutIVP.
    6. Click Apply.
      You are back to the J2C activation specifications page.
    7. Click Save in the message box at the top to save the changes to the master configuration.
      The J2C activation specification is created.
  2. To configure the J2C activation specification for use with the IMS TM resource adapter:
    1. Click the name of the J2C activation specification for the IMS TM resource adapter.
      The Configuration tab displays.
    2. Under the Additional Properties section on the side, click the J2C activation specification custom properties link.
      Custom properties in this instance of J2C activation specification display.
    3. Specify the values for the following required properties by clicking their names in the table and entering the appropriate values.
      • queueName:
        • Specify IVPPIPE3,IVPPIPE4 if you plan to verify both asynchronous and synchronous callout messages
        • Specify IVPPIPE3 if you plan to verify only asynchronous callout messages
        • Specify IVPPIPE4 if you plan to verify only synchronous callout messages
      • portNumber: the port number for IMS Connect
      • hostName: the IMS Connect host name
      • dataStoreName: the IMS data store name.
    4. Specify the values for the other optional properties based on your environment.
    5. Click Apply.
    6. Click Save in the message box at the top to save the changes to the master configuration.
  3. Restart the server to see the new activation specification.

Results

The activation specification for the sample application is configured.

What to do next

Proceed to Deploying the sample application on WebSphere Application Server to process callout requests.