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?




--
View this message in context: 
http://camel.465427.n5.nabble.com/Problem-with-inserting-database-from-camel-context-xml-tp5752810.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to