The topics in this section describe some of the different processing models
that a Java™ client
can use with the IMS™ resource adapter. The topics included are:
SYNC_SEND_RECEIVE programming model
To run a transaction in IMS, your Java application executes a SYNC_SEND_RECEIVE
interaction. Your application provides a value of SYNC_SEND_RECEIVE for the
interactionVerb property and a value of 0 or 1 for the commitMode property
of the IMSInteractionSpec object used by the execute method. However, the
SYNC_SEND_RECEIVE interaction processing is different for shareable and dedicated
persistent socket connections.
Retrieving asynchronous output
There are two types of socket connections, shareable persistent socket and dedicated persistent socket, that can be used to retrieve asynchronous output. The way to retrieve asynchronous output messages is different depending on the type of socket connection used. The interactionVerb property values that can be used to retrieve asynchronous output are: SYNC_RECEIVE_ASYNCOUTPUT_SINGLE_NOWAIT, and SYNC_RECEIVE_ASYNCOUTPUT_SINGLE_WAIT (along with the older SYNC_RECEIVE_ASYNCOUTPUT).
Displaying output message counts
Using IMS Connect commands, you can choose to display output message counts. This topic describes how to display those message counts.