Hi,

I am trying to use Camel Loop as below in the camel-context.xml file -

<camel:loop>
                   
<camel:constant>${property.CamelLoopSize}</camel:constant>

                <camel:setBody>
                     <camel:simple>
                         UPDATE test SET test_score=
${property.testList[${property.CamelLoopIndex}].testScore} WHERE
partner_member_id = ${property.testList[${property.CamelLoopIndex}].testId};
                     </camel:simple>
                </camel:setBody>
</camel:loop>

Please let me know if i am missing anything here as it looks like i am not
able to figure out the syntax for setting the Loop size.(CamelLoopIndex
works fine if i set a constant manually)

Thanks,
Amit




--
View this message in context: 
http://camel.465427.n5.nabble.com/Facing-issues-in-using-Camel-Loop-tp5743589.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to