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.
- Value
- Description
- Keep
- Keep messages on the source queue.
- Delete
- Delete messages on the source queue depending upon the map completion status and the value of OnFailure.
For example, if the
setting is Delete and the 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.