You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "adam chen (Jira)" <ji...@apache.org> on 2023/02/10 02:39:00 UTC

[jira] [Created] (CAMEL-19031) When camel saga do compensated, the saga route don't stop it still run the next task.

adam chen created CAMEL-19031:
---------------------------------

             Summary: When camel saga do compensated, the saga route don't stop it still run the next task.
                 Key: CAMEL-19031
                 URL: https://issues.apache.org/jira/browse/CAMEL-19031
             Project: Camel
          Issue Type: Bug
    Affects Versions: 3.19.0
            Reporter: adam chen
         Attachments: RouteCode.jpg, SagaRoute.png, SagaTest.jpg

The problem is : I find that when actionA is timeout and it executed compensated, In theory the saga route should be stopped, not continue to call the next actionB.  In my test show that when {color:#FF0000}the first task can't complete before its timeout, it will run compensation but the saga route don't stop, it still run second task and third task{color}. In my opinion, I think when the first task can't complete and run compensation, the second and third task shouldn't run. [Here is my test code |[https://github.com/chen19980/SAGA_timeout_test]]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)