Hi friends

I am trying to split my messages using camel splitter. But its a slightly
different way of doing things.

I have an input file as follows

*<School>
    <Department>ECONOMICS<Department>
    <Students>
    <Student>Paul</Student>
    <Student>Thomas</Student>
    </Students>
</School>
*
I want the output as follows

*<School>
    <Department>ECONOMICS<Department>

    <Students>
    
     <Student>Paul</Student>
    
    </Students>
</School>

*

And another record as 

*<School>
    <Department>ECONOMICS<Department>
    
    <Students>
    
     <Student>Paul</Student>
    
    </Students>
</School>*


How can I acheive this with Camel out of box feature?
Basically , I have a case where some values in multiple line items might be
invalid and the target system rejects the whole lot of records due to one
bad record.

Hence i want to send records one by one.

Cheers
Reji




--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-Splitter-EIP-tp5757844.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to