You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Jonas Fügedi (JIRA)" <ji...@apache.org> on 2013/03/16 10:02:12 UTC

[jira] [Created] (CAMEL-6168) SQL component will not look for parameters in header when no body in message

Jonas Fügedi created CAMEL-6168:
-----------------------------------

             Summary: 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