In the above scenario the transaction is not getting rollback if publish service is failed to publish data to broker. (i.e… Update Adapter service1, Update Adapter service2 are committed automatically without commit transaction in try block)
I am using Local_Transaction for the connection, and all the adapter services are using the same connection. Please let me know if I am going wrong anywhere.
Exit on property for the sequence - try should be set to ‘FAILURE’. In case if you have it set to DONE, it would have committed in case of failure as well.
I hope, you are not checking this by ‘tracing’ the flow. Trace will not maintain the transactionality. You got to run it and check this in run time
Thanks for the reply.
My try block’s sequence is exit on failure only and catch block’s sequence is exit on Done.
I am not tracing/step into the service, I am just trying to run the service but no luck.
If any error occurs in try block execution is going to catch block but it’s not getting rollback 2. If everything is fine in try block at commit transaction flow step it’s failed to execute commit step and getting the below error: