[
https://issues.apache.org/jira/browse/CAMEL-19031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
adam chen updated CAMEL-19031:
------------------------------
Description: 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. [Test
code]|[https://github.com/chen19980/SAGA_timeout_test]] (was: 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.
[Test code|[https://github.com/chen19980/SAGA_timeout_test]])
> 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
> Priority: Blocker
> Attachments: RouteCode.jpg, SagaTest.jpg
>
> Original Estimate: 120h
> Remaining Estimate: 120h
>
> 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. [Test
> code]|[https://github.com/chen19980/SAGA_timeout_test]]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)