[
https://issues.apache.org/jira/browse/CAMEL-6168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13608777#comment-13608777
]
Claus Ibsen commented on CAMEL-6168:
------------------------------------
Ah I was looking at the camel-sql component for 2.10.
Yeah I am fixing this now on 2.11.
> SQL component will not look for parameters in header when no body in message
> ----------------------------------------------------------------------------
>
> Key: CAMEL-6168
> URL: https://issues.apache.org/jira/browse/CAMEL-6168
> Project: Camel
> Issue Type: Bug
> Components: camel-sql
> Affects Versions: 2.11.0
> Environment: 2.11-SNAPSHOT
> Reporter: Jonas Fügedi
> Priority: Minor
>
> Line 60 in SqlProducer checks if the body is null. This will cause any
> parameters in header fields not to be populated into the prepared statement.
> Sample scenario is with a camel-jetty enriching a response using camel-sql.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira