bvahdat commented on issue #3471:
URL: https://github.com/apache/camel-quarkus/issues/3471#issuecomment-1021090429


   Hi @jamesnetherton 
   
   I have not used `camel-jta` but plain local JDBC transaction to see if that 
would work at all, and it did.
   
   I used this test:
   
   
https://github.com/apache/camel/blob/main/components/camel-spring-xml/src/test/java/org/apache/camel/spring/interceptor/MixedTransactionPropagationTest.java
   
   And added one more test:
   
   ```
   public void testTransactedSplit() throws Exception {
       getMockEndpoint("mock:splitted").expectedBodiesReceived("requires", 
"new", "2");
   
       template.sendBody("direct:requires_new_2", "requires_new_2");
   
       assertMockEndpointsSatisfied();
   }
   ```
   
   And this additional route (the exact same route what fails by this ticket):
   
   ```
   from("direct:requires_new_2")
     .transacted("PROPAGATION_REQUIRES_NEW")
     .split(body()).delimiter("_").to("direct:splitted").end()
     .log("after splitter log which you will never see...")
     .transform().constant("requires_new_2");
   ```
   
   But I guess if we would use `camel-jta` instead with narayana then that 
should be a reproducer, right?
   
   
   


-- 
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: commits-unsubscr...@camel.apache.org

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


Reply via email to