[
https://issues.apache.org/jira/browse/CAMEL-3907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13182507#comment-13182507
]
Claus Ibsen commented on CAMEL-3907:
------------------------------------
How would that work out Heath?
Do you need to explicit enable this functionality by setting some endpoint
option first?
As people may as currently have some data in the body already when they invoke
the sql endpoint. So if suddenly the body is taking precedence as the SQL
statement, then that will cause problems, as the body is most likely not a SQL
statement.
So if you force people to enable this functionality with an option, they become
aware of this fact.
And why use a body, instead of an header? Many of the other components allow
you to set specific headers which then overrule endpoint configured options. So
why not use a header?
> Component camel-sql needs the abiliity to process sql from the body of the
> exchange
> -----------------------------------------------------------------------------------
>
> Key: CAMEL-3907
> URL: https://issues.apache.org/jira/browse/CAMEL-3907
> Project: Camel
> Issue Type: Improvement
> Components: camel-sql
> Reporter: Heath Kesler
> Fix For: 3.0.0
>
>
> camel sql should also support the ability to add the sql statements in the
> exchange body for processing. This is linked via 3803.
--
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