Can you please post the complete stack trace. Best,
Christian ----------------- Software Integration Specialist Apache Member V.P. Apache Camel | Apache Camel PMC Member | Apache Camel committer Apache Incubator PMC Member https://www.linkedin.com/pub/christian-mueller/11/551/642 On Fri, Oct 18, 2013 at 8:57 PM, Olaf <[email protected]> wrote: > 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. >
