7 Replies Latest reply on Jan 24, 2011 10:44 AM by Michele Dicerto

    Camel split

    Michele Dicerto Newbie

      Hi all,


      I would like to create a route in which the In message should be splitted in 3 parts.

      I need to elaborate the first part and then in consequence of this do something with the second and third part of the message. ( for example stop the route or continue with another endopoint after some elaboration ).


      How I can crete a conditional routing?




             .process(new DumpBody())


             .process(new DoSomething()).end()


         .split(xpath("//monitorData")).process(new DumpBody()).end()

         .split(xpath("//*")).process(new GetSQI()).end()