Thanks for the fast reply.
Unfortunately i cannot find the "method...." you suggest... Can you help?
Or would the following be equivalent to the previous?:
from("file:src/data?noop=true").bean(new
IncomingMessageValidator()).to("direct:in");
from("direct:in").split().method("splitter", "splitBody").
to("direct:test");
Thanks
attila
Bak Attila wrote:
>
> Hi,
>
> I am trying to cascade a bean and a splitter like (java DSL):
>
> from("file:src/data?noop=true").bean(new
> IncomingMessageValidator()).
> split().method("splitter", "splitBody").
> to("direct:test");
>
> It complains that method to(String) is undefined for object. What am i
> doing wrong?
>
> Thanks,
> attila
>
--
View this message in context:
http://www.nabble.com/Cascading-bean-and-splitter-tp24792299p24793035.html
Sent from the Camel - Users mailing list archive at Nabble.com.