Description
steps to reproduce:
Add custom UnitOfWork.
overwrite the before process and after the process, the sequence of the process is before process-> after process -> process
expected:
before process -> process -> after process
It was working fine in 3.4. The following code adds the after process to the last, so the process can follow the sequence.
code:
if (beforeAndAfter) { reactiveExecutor.schedule(() -> { // execute any after processor work (in current thread, not in the callback) uow.afterProcess(processor, exchange, callback, false); }); }
Link:
The code is removed from 3.11, so the process can't follow the sequence.
Attachments
Issue Links
- causes
-
CAMEL-18255 Memory Leak with MDCUnitOfWork
- Resolved
- relates to
-
CAMEL-17009 camel-core - Camel does not clear MDC correctly
- Resolved