Configuring a J2C activation specification in WebSphere Application Server

You must configure a new J2C activation specification from the IMS™ TM resource adapter and then specify the values for communication with IMS.

About this task

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. Create a J2C specification for the IMS TM resource adapter. In the administrative console (also known as the Integrated Solutions Console) of WebSphere Application Server, select Resources > Resource Adapters > J2C activation specifications in the navigation pane.
      Figure 1. J2C activation specification configuration in WebSphere Application Server
      This figure shows the J2C activation specification configuration screen in the administrative console in WebSphere Application Server.
    2. Click New in the content pane. A Configuration tab is displayed.
    3. Under Provider, 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, IMSActivationSpec.
    5. Type the JNDI name. For example, eis/IMSActivationSpec.
    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.
      Figure 2. Newly created J2C activation specification from the IMS TM resource adapter
      This figure shows the newly created J2C activation specification for the IMS TM resource adapter.
  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 is displayed.
    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 are displayed.
      Note: The properties in the following figure might not match the properties that you see, depending on your version of the IMS TM resource adapter.
      Figure 3. Custom properties for the J2C activation specification for the IMS TM resource adapter
      This figure shows the custom properties in the J2C activation specification that is created from the IMS TM resource adapter.
    3. Specify the values for the following required properties by clicking their names in the table and entering the appropriate values.
      • queueName: A comma-delimited list of the tpipe hold queue names where the callout requests from IMS are being held.
      • portNumber: the port number for IMS Connect
      • hostName: the IMS Connect host name
      • dataStoreName: the IMS data store name.

        In WebSphere Application Server Version 8 or later, the data store name can be a comma-delimited list of names, enabling an IMSActivationSpec instance to pull callout messages from multiple data stores.

    4. Specify the values for the other optional properties based on your environment.
    5. Clickcontrol connection pooling for responses that are sent back to IMS: Apply.
    6. Click Save in the message box at the top to save the changes to the master configuration.

Results

The J2C activation specification for the IMS TM resource adapter is created and configured.