[
https://issues.apache.org/jira/browse/CAMEL-5344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-5344.
--------------------------------
Resolution: Not A Problem
Fix Version/s: 2.10.0
Assignee: Claus Ibsen
This is by design, the header is using a proper SQL query with ? as
placeholders. This is also what's being documented on the sql component page.
> SqlComponent doesn't execute parameter replacement with header sent queries
> ---------------------------------------------------------------------------
>
> Key: CAMEL-5344
> URL: https://issues.apache.org/jira/browse/CAMEL-5344
> Project: Camel
> Issue Type: Bug
> Components: camel-sql
> Affects Versions: 2.8.4
> Reporter: Rodrigo Vieira Couto
> Assignee: Claus Ibsen
> Fix For: 2.10.0
>
>
> If you pass a query using '#' in its body, through the CamelSqlQuery header,
> it doesn't get translated.
> The replacement happens on SqlComponent only considering queries placed on
> the endpoint's URI.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira