You can put your validated items into a temp seda queue and once you complete the splitting of your file and you don't find any invalid item, then start consuming the temp seda queue, otherwise just stop.
-- View this message in context: http://camel.465427.n5.nabble.com/Splitting-xml-Send-all-items-or-send-XML-to-Error-Queue-tp5764002p5764012.html Sent from the Camel - Users mailing list archive at Nabble.com.