This is an automated email from the ASF dual-hosted git repository.
JiriOndrusek pushed a commit to branch camel-main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/camel-main by this push:
new 4e78812e2d Fixed sql test modules
4e78812e2d is described below
commit 4e78812e2ddea8bd180857a06aa4ef28f730cd25
Author: Jiří Ondrušek <[email protected]>
AuthorDate: Mon Sep 21 14:16:15 2026 +0000
Fixed sql test modules
Since CAMEL-24292 (apache/camel 6daeefed72) the CamelSqlQuery header is
ignored unless the endpoint opts in with allowQueryFromHeader=true, so
the transacted route of the sql integration test enables it.
Co-Authored-By: Claude Fable 5.1 <[email protected]>
---
.../main/java/org/apache/camel/quarkus/component/sql/it/SqlRoutes.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/integration-tests/sql/src/main/java/org/apache/camel/quarkus/component/sql/it/SqlRoutes.java
b/integration-tests/sql/src/main/java/org/apache/camel/quarkus/component/sql/it/SqlRoutes.java
index a1d2b25093..18fc8ac5dc 100644
---
a/integration-tests/sql/src/main/java/org/apache/camel/quarkus/component/sql/it/SqlRoutes.java
+++
b/integration-tests/sql/src/main/java/org/apache/camel/quarkus/component/sql/it/SqlRoutes.java
@@ -94,7 +94,7 @@ public class SqlRoutes extends RouteBuilder {
from("direct:transacted")
.transacted("PROPAGATION_REQUIRED")
- .to("sql:overriddenByTheHeader")
+ .to("sql:overriddenByTheHeader?allowQueryFromHeader=true")
.process(e -> {
if (e.getIn().getHeader("rollback", boolean.class)) {
throw new Exception("forced Exception");