You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2025/02/27 08:03:00 UTC
[jira] [Created] (CAMEL-21807) camel-kamelet - Custom kamelet with dynamic query parameter with sql component
Claus Ibsen created CAMEL-21807:
-----------------------------------
Summary: camel-kamelet - Custom kamelet with dynamic query parameter with sql component
Key: CAMEL-21807
URL: https://issues.apache.org/jira/browse/CAMEL-21807
Project: Camel
Issue Type: Bug
Components: camel-kamelet
Affects Versions: 4.10.1
Reporter: Claus Ibsen
Assignee: Claus Ibsen
Fix For: 4.10.2, 4.11.0
If you build a custom kamelet with the sql component, then this works
{code:java}
- to:
uri: "{{local-sql-postgres-sink}}:{{query}}"
parameters:
dataSource: "#bean:{{dsBean}}"{code}
and this fails
{code:java}
- to:
uri: "{{local-sql-postgres-sink}}"
parameters:
dataSource: "#bean:{{dsBean}}"
query: "{{query}}" {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)