You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "ldrozdo (via GitHub)" <gi...@apache.org> on 2023/03/23 13:03:53 UTC

[GitHub] [camel-quarkus] ldrozdo commented on a diff in pull request #4655: Ref #4596: Expand JDBC tests - named parameters and samples

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


##########
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:
   @aldettinger I've implemented your hints, one thing I had to do differently is using `delay=2000` because with 0 it still sometimes failed. 



-- 
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-unsubscribe@camel.apache.org

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