Hi Sounds like a good idea, feel free to log a JIRA and work on a patch
We love contributions http://camel.apache.org/contributing On Fri, Feb 14, 2014 at 5:05 PM, Gardella juan <[email protected]> wrote: > Yes, for example the select query: > > <select id="sss" parameterType="java.util.Map" > resultType="map"> > select fila,o.IDENTIFICACION > from detalle d > join orden o on d.orden_id=o.id > where informe_id=#{informeId} > </select> > > I have to put the headers in the message body to run it. It is better if > the component has an option like "useHeaderParameters" or something like > that and I can let the message body intact. > > Juan > > > > 2014-02-14 12:44 GMT-03:00 Claus Ibsen-2 [via Camel] < > [email protected]>: > >> Hi >> >> You mean to pickup named parameters from headers? >> >> >> On Fri, Feb 14, 2014 at 3:36 PM, Gardella juan >> <[hidden email] <http://user/SendEmail.jtp?type=node&node=5747320&i=0>> >> wrote: >> >> > Hi community, >> > >> > I'm using mybatis <https://camel.apache.org/mybatis.html> component >> and >> > it seems that it's not possible to configure it to pick parameters from >> the >> > header. It's useful enable this feature with some options. For example >> sql >> > <https://camel.apache.org/sql.html> component can pick up headers >> > parameters when the message body is null. >> > >> > Thanks >> > >> > >> > >> > -- >> > View this message in context: >> http://camel.465427.n5.nabble.com/Is-it-possible-to-configure-mybatis-component-to-pick-parameters-from-header-tp5747318.html >> > Sent from the Camel - Users mailing list archive at Nabble.com. >> >> >> >> -- >> Claus Ibsen >> ----------------- >> Red Hat, Inc. >> Email: [hidden email]<http://user/SendEmail.jtp?type=node&node=5747320&i=1> >> Twitter: davsclaus >> Blog: http://davsclaus.com >> Author of Camel in Action: http://www.manning.com/ibsen >> Make your Camel applications look hawt, try: http://hawt.io >> >> >> ------------------------------ >> If you reply to this email, your message will be added to the discussion >> below: >> >> http://camel.465427.n5.nabble.com/Is-it-possible-to-configure-mybatis-component-to-pick-parameters-from-header-tp5747318p5747320.html >> To unsubscribe from Is it possible to configure mybatis component to pick >> parameters from header?, click >> here<http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5747318&code=Z2FyZGVsbGFqdWFucGFibG9AZ21haWwuY29tfDU3NDczMTh8LTE1MjMxMTI5MDU=> >> . >> NAML<http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> >> > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Is-it-possible-to-configure-mybatis-component-to-pick-parameters-from-header-tp5747318p5747323.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: [email protected] Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen Make your Camel applications look hawt, try: http://hawt.io
