Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.18.0
-
None
-
Unknown
Description
Camel-elsql could not lookup for parameters from message headers. Problem is here https://github.com/apache/camel/blob/camel-2.18.0/components/camel-elsql/src/main/java/org/apache/camel/component/elsql/ElsqlSqlMapSource.java#L70
Sample route:
from("direct:projects") .setHeader("lic", constant("ASF")) .setHeader("min", constant(123)) .to("elsql:projects:com/foo/projects.elsql")
ElSql:
@NAME(projects) SELECT * FROM projects WHERE license = :lic AND id > :min ORDER BY id
Attachments
Issue Links
- links to