camel-sql doesn't support changing the sql query by passing a special
header. Checkout the documentation [1].
If you have a need for this, feel free to log a JIRA [2].

[1] http://camel.apache.org/sql-component.html
[2] http://camel.apache.org/contributing.html

Best,
Christian

On Sat, Jan 5, 2013 at 10:52 AM, pointerness <rohit.venkatacha...@nomura.com
> wrote:

> Yep worked with 3.0. Thanks. Worked with sql query stored in a property
> file.
> not with header.
> I have put a map entry with key"sqlQuery". I use the map as the header
> argument to producerTemplate request body and header method. Am trying to
> use it in the route as <to uri="${header.sqlQuery}"/>
> Is this allowed?
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/camel-sql-tp5724935p5724945.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



--

Reply via email to