zhfeng commented on code in PR #5223:
URL: https://github.com/apache/camel-quarkus/pull/5223#discussion_r1308672225
##########
integration-tests/messaging/jms/src/main/java/org/apache/camel/quarkus/messaging/jms/JmsRoutes.java:
##########
@@ -44,11 +47,13 @@ public void configure() throws Exception {
.bean("destinationHeaderSetter")
.toF("%s:queue:override", componentScheme);
- fromF("%s:queue:xa", componentScheme)
+ fromF("%s:queue:xa?transactionManager=#jtaTransactionManager",
componentScheme)
Review Comment:
Please refer to `camel-jms` document
https://camel.apache.org/components/4.0.x/jms-component.html#_enabling_transacted_consumption
And for `JtaTransactionManager`, the propert `transacted=true` is not needed
because the transaction is managed by the container like `quarkus-arc`.
--
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]