Source > Transaction > OnSuccess setting

Use the OnSuccess setting with adapter sources to prevent deletion of the source message(s) from the server from which the messages originate. The default value is Delete.

Keep messages on the source queue.
Delete messages on the source queue depending upon the map completion status and the value of OnFailure.

For example, if the Source > Transaction > OnSuccess setting is Delete and the Source > Transaction > OnFailure setting is Rollback and the map fails, the message is rolled back and is left on the input queue. If the setting is Rollback and the map succeeds, the transaction is committed.

If Rollback is not set, there is no IBM® MQ transaction syncpoint control activation. The message remains deleted, regardless of the completion status of the map.