aldettinger commented on code in PR #4655:
URL: https://github.com/apache/camel-quarkus/pull/4655#discussion_r1146623082


##########
integration-tests/jdbc/src/main/java/org/apache/camel/quarkus/component/jdbc/JdbcRoutes.java:
##########
@@ -44,5 +47,20 @@ public void process(Exchange exchange) throws Exception {
                         exchange.getIn().setBody(in);
                     }
                 });
+
+        from("direct://headers-as-parameters")
+                .to("jdbc:camel-ds?useHeadersAsParameters=true");
+
+        from("timer://interval-polling?delay=5000&period=1000")

Review Comment:
   Yes, maybe there is a kind of transaction delay or alike so the record are 
not visible straight away.
   I think it's ok to experiment with this, in case of flakiness, we could 
maybe wait in @PostConstruct that records are visible.
   That's great job. It looks clearer (to me at least) :+1: 



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

Reply via email to