Croway opened a new pull request, #22511:
URL: https://github.com/apache/camel/pull/22511

   ## Summary
   
   - `Exchange.copy()` does not preserve the transacted flag. When the 
aggregate uses `SynchronousExecutorService`, the completion runs on the caller 
thread and can legitimately be transactional
   - Propagate the flag on the correlated copy so `Pipeline.process()` uses 
`scheduleQueue` instead of `scheduleMain`, avoiding a queue-swap deadlock in 
the reactive executor's `executeFromQueue` loop
   - Mirrors the same pattern already used by the `Splitter` (line 216)
   
   ## Test plan
   
   - [x] `SplitAggregateDirectRouteTransactedDeadlockTest` — transacted split + 
aggregate routed to a separate `direct:` route (deadlocked before, passes now)
   - [x] `SplitAggregateInChoiceSynchronousExecutorTest` — existing CAMEL-23281 
tests still pass
   - [x] `SplitAggregateSynchronousExecutorStackOverflowIssueTest` — 
CAMEL-23030 regression guard still passes


-- 
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]

Reply via email to