camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Müller <christian.muel...@gmail.com>
Subject Re: error: cannot find symbol when using split() in choice()
Date Fri, 18 Oct 2013 22:35:21 GMT
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 <omgolafguhl@gmail.com> 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.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message