So I ended up using a class variable which is initially set to 0. If there
are elements to parse then when the splitter is complete it will update the
class variable through the use of a processor. Then after the splitter logic
I call another processor to get the number of elements parsed. If still 0
then I know nothing was parsed.

It would be nice if the splitter provided a function to perform if there are
no elements parsed. Is there a JIRA site or something similar for Apache
Camel that I could propose this new functionality?



--
View this message in context: 
http://camel.465427.n5.nabble.com/How-can-I-tell-if-Apache-Camel-Splitter-didn-t-split-anything-tp5725181p5725185.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to