Hello,
why does this route not work? I'm getting error: cannot find symbol.
from("file:data/inbox")
.choice()
.when(header("CamelFileName").endsWith(".xml"))
.to("file:data/outbox/xml")
.when(header("CamelFileName").regex("^.*(csv|csl)$"))
.unmarshal()
.csv()
.split(body())
.to("log:split")
.otherwise()
.to("log:otherwise")
.end()
.to("log:end");
--
View this message in context:
http://camel.465427.n5.nabble.com/error-cannot-find-symbol-when-using-split-in-choice-tp5741857.html
Sent from the Camel - Users mailing list archive at Nabble.com.