You must modify your Java™ application to retrieve
the callout requests in the hold queue, and if a response message is expected, correlate the
response to the appropriate request.
Before you begin
Prerequisite: Your WebSphere® Application Server administrator must configure a
shareable connection factory to be used by the Java application to retrieve the callout
requests.
About this task
Modify the Java application to set the following
property values:
Procedure
-
Specify an alternate client ID whose value is the name of the OTMA asynchronous hold queue
(tpipe) on which the callout request is to be queued.
The tpipe that the callout Java application listens
to must be reserved for receiving callout requests. The name of the OTMA asynchronous hold
queue is:
- The name of the ALTPCB to which the callout request is inserted, or
- The name of the tpipe specified in the OTMA destination descriptor.
-
Set the interactionVerb property to SYNC_RECEIVE_CALLOUT (which corresponds to an IMS Connect Resume Tpipe Single Wait request).
-
Specify an execution timeout value that you would like to wait for a callout message in the
hold queue.
-
For added security, you can optionally specify a user ID in your Java application if you have configured your IMS security so that only authorized users can retrieve the callout
request message from the asynchronous hold queue.
This user ID must be specified in the connectionSpec object in your
application or the connection factory used by your application.