Hi - i have a requirement to split the payload with some token and process.
the below is my code and absolutly working fine when content is available in
payload. when the split does not match it ignores and do not throw any
error message which is very nice.
but i would like to call another processor when split.tokenzeXML does not
match - how could i do that can some one let me know your views please?
from(from)
.routeId("split
messages").convertBodyTo(java.lang.String.class)
.split().tokenizeXML("order", "orders").streaming() // i
wanted to call another processor if split does not match
.process(new MyProcessor())
.to(to).end();
--
View this message in context:
http://servicemix.396122.n5.nabble.com/Split-TokenizeXML-improvement-tp5718093.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.