turing85 commented on PR #9286: URL: https://github.com/apache/camel/pull/9286#issuecomment-1418289134
@zhfeng this got a lot more complicated. As soon as we set the route `.transacted()`, we get exceptions stating that: ``` ... Caused by: java.sql.SQLException: Attempting to commit while taking part in a transaction ... ``` This is due to the fact that we try to commit a local transaction (through `transactionManager.execute(...)`, while we are in a global transaction. If we remove the `transactionManager.execute(...)` but keep the body, we get the original exception (because we are in a global transaction). We'd need to somehow decouple the exeuctions in the idempotency repository from the global transaction. -- 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]
