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
- Create a J2C specification for the IMS TM resource adapter.
- In the administrative console, select in
the navigation pane.
- Click New in the content pane.
A Configuration tab displays.
- 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.
- Specify a name for this J2C activation specification.
For example, IMSICOCalloutIVP.
- Type the JNDI name.
For example, eis/IMSICOCalloutIVP.
- Click Apply.
You
are back to the J2C activation specifications page.
- Click Save in the message box
at the top to save the changes to the master configuration.
The J2C activation specification is created.
- To configure the J2C activation specification for use with
the IMS TM resource adapter:
- Click the name of the J2C activation specification for
the IMS TM resource adapter.
The Configuration tab displays.
- 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.
- 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.
- Specify the values for the other optional properties
based on your environment.
- Click Apply.
- Click Save in the message box
at the top to save the changes to the master configuration.
- Restart the server to see the new activation specification.
Results
The activation specification for the sample application is
configured.