You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2020/05/22 14:07:10 UTC

[GitHub] [camel-quarkus] zhfeng commented on issue #1197: transacted() support in camel-quarkus

zhfeng commented on issue #1197:
URL: https://github.com/apache/camel-quarkus/issues/1197#issuecomment-632709981


   @jamesnetherton yeah, I had an initial change to introduce the QuarkusTransactedPolicy
   you can see https://github.com/zhfeng/camel-quarkus/compare/master...issue_1197_transacted?expand=1
   
   It works to get the TransactionManger while add the dependency of io.quarkus:quarkus-narayana-jta. Then the most difficult thing is to do the similar functions with the Spring Transaction Template to wrap the processor inside the transaction context
   ```
   transactionTemplate.execute(new TransactionCallbackWithoutResult() {
   ...
   });
   ```


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org