Retrieving asynchronous output with an alternate client ID on shareable persistent socket connections

A client application can retrieve asynchronous output messages that are either rerouted or non-rerouted from any OTMA tpipe by using an alternate client ID.

About this task

This alternate client ID is specified by the altClientID property of the IMSInteractionSpec object. The alternate client ID corresponds with the name of the OTMA tpipe that has the asynchronous output messages. A client application cannot specify a reroute name (the reRouteName property) and an alternate client ID (the altClientID property) in the same interaction.

Alternate client IDs are supported when a client application meets all the following requirements:

Procedure

  1. Use a TCP/IP connection with a shareable persistent socket.
  2. Use a valid value for the interactionVerb property for retrieval of asynchronous output messages (resume tpipe): SYNC_RECEIVE_ASYNCOUTPUT_SINGLE_NOWAIT and SYNC_RECEIVE_ASYNCOUTPUT_SINGLE_WAIT.
  3. Set the commitMode property value to 0.