allthingssecurity commented on PR #30760:
URL: https://github.com/apache/camel/pull/30760#issuecomment-7158205352
Thanks Claus.
1. Added
`compensationThatCompensatesItsOwnSagaFromAnotherThreadDoesNotWaitForItself` in
33fa4f06b3. Its compensation route calls `threads()` and then
`to("saga:compensate")`, with no `removeProperties`, so the call comes from a
pool thread that has no mark and only the exchange property can catch it. The
test also checks that `saga:compensate` really ran on another thread. I tried
it with the property check taken out of `afterFinalization` and the thread mark
left in: the new test times out after 10 seconds (`TimeoutException`) and the
other six still pass. With the code as it is, it passes.
2. Follow-up JIRA for failing the open outcomes on stop:
[CAMEL-27542](https://issues.apache.org/jira/browse/CAMEL-27542), linked from
CAMEL-27417.
Saga tests of camel-core: 55 run, 0 failures. The test class 10 times: 70
run, 0 failures.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]