Interactions supported with commit mode and sync level combinations
The interactions that are supported by the IMS™ TM resource adapter depend on the combination of commit mode and sync level that you choose.
- Commit mode 1 with sync level NONE
This combination is used for non-transactional interactions. For non-conversational applications, use the SYNC_SEND_RECEIVE interaction. For conversational applications, use the SYNC_SEND_RECEIVE or, optionally, the SYNC_END_CONVERSATION interaction.
- Commit mode 1 with sync level CONFIRM
This combination is used for non-transactional interactions. For non-conversational applications, use the SYNC_SEND_RECEIVE interaction. For conversational applications, use the SYNC_SEND_RECEIVE or, optionally, the SYNC_END_CONVERSATION interaction.
- Commit mode 0 with sync level CONFIRM
This combination is used for non-transactional SYNC_SEND_RECEIVE, SYNC_SEND, SYNC_RECEIVE_ASYNCOUTPUT_SINGLE_NOWAIT, SYNC_RECEIVE_ASYNCOUTPUT_SINGLE_WAIT and SYNC_RECEIVE_CALLOUT interactions.
Tip: Commit mode 0 is supported only for non-conversational applications that are running on TCP/IP connections.
For commit mode 1 interactions, the IMS TM resource adapter automatically provides the synchronization level when it communicates with IMS Connect. The synchronization level can also be set explicitly by the Java™ client by using the setSyncLevel(int) method to NONE or CONFIRM. The default sync level is NONE. You can set the interaction verb to SYNC_SEND_RECEIVE without setting the sync level.
For commit mode 0 interactions, only the CONFIRM sync level is supported.
The setSyncLevel(int) method throws an exception for any invalid combination of commit mode and sync level.