Hi,

How can i stop/throw exception if tokenizer won't find the token? Actually
it will result with 0 messages , processing stop, and vanish the input
message.

I have:

    /from(input)     
          .split().tokenizeXML( "order", 100).to(commonOut);

        from(commonOut)......etc. /

If a message comes and do not contains the element "order" it won't throw
any exception and my input message is vanished.

My idea was to use :

      / .split().tokenizeXML( "order",
100).*stopOnException()*.to(commonOut);/

but don't know how to make the tokenizer to throw exeption of tag "order"
couldn t be found.

Thanks in advance!



--
View this message in context: 
http://camel.465427.n5.nabble.com/No-result-from-tokenizeXML-tp5756648.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to