Gardella Juan Pablo created CAMEL-7206:
------------------------------------------
Summary: Enable an option to pickup named parameters from headers
with mybatis component
Key: CAMEL-7206
URL: https://issues.apache.org/jira/browse/CAMEL-7206
Project: Camel
Issue Type: New Feature
Components: camel-mybatis
Reporter: Gardella Juan Pablo
Priority: Minor
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>
The component picks the named parameters only from the body. Some cases it is
useful pick the named parameters from the header. It is better if the component
has an option like "useHeaderParameters" or something like that and I can let
the message body intact.
Related forum:
http://camel.465427.n5.nabble.com/Is-it-possible-to-configure-mybatis-component-to-pick-parameters-from-header-td5747318.html
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)