Is there some design restriction why this compiles:

        from("").streamCaching()
        .to("")
        .to("")
        .split(new XPathExpression("//object/photos/photo"))
        .to("")
        ;

while this does not compile:

        from("").streamCaching()
        .to("")
        .to("")
        .split().xpath("//object/photos/photo")
        .to("")
        ;


The compile error is: "The method to(EndPoint) is undefined for the type object"

Camel version is 2.0.0

Kind regards,

Gert-Jan van de Streek

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Attachment: PGP.sig
Description: This is a digitally signed message part

Reply via email to