hi good day, I'm new to all this.
i have the following
<split parallelProcessing="true" streaming="true">
<tokenize token="\n" group="1"/>
<unmarshal><csv/></unmarshal>
<transform>
<simple>${body[0]}</simple>
</transform>
<log message="${body}"/>
<to uri="sql:INSERT INTO prueba(id, nombre, sex, num)
VALUES(#,#,#,#)"/>
......
......
which works correctly when fields of my database are TEXT, but if I have a
field, for example, ID int, not performing insert,
any solution within the camel-context.xml or have to resort to a java class
that I do the transformation?
i have the following
<split parallelProcessing="true" streaming="true">
<tokenize token="\n" group="1"/>
<unmarshal><csv/></unmarshal>
<transform>
<simple>${body[0]}</simple>
</transform>
<log message="${body}"/>
<to uri="sql:INSERT INTO prueba(id, nombre, sex, num)
VALUES(#,#,#,#)"/>
......
......
which works correctly when fields of my database are TEXT, but if I have a
field, for example, ID int, not performing insert,
any solution within the camel-context.xml or have to resort to a java class
that I do the transformation?