Hi Instead of constant language you can use any of the other langauges that can be dynamic to construct your SQL query http://camel.apache.org/languages
On Tue, Sep 3, 2013 at 4:59 PM, lassesvestergaard <lassesvesterga...@gmail.com> wrote: > Hi guys. > > Thanks for your replies. I will look further into the route policy area. > > In relation to this issue I have an other problem. I use the jdbc component > to retrieve data from the Microsoft database. When I set the body, I do that > by writing something like: > > setBody(constant("sql_sentence")). My problem is that I can't have dynamic > sql queries. I guess it's because I use the constant expression. I'm using > camel 2.11. > > Do you have any suggestions on how to have dynamic sql queries? > > Best regards > > Lasse Vestergaard > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Change-timer-runtime-tp5738484p5738596.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen