4 Replies Latest reply on Nov 24, 2009 7:49 AM by Lyfe Musique

    message routing with choice option within choice option

    Lyfe Musique Novice

      I'm trying to get the below code to work:

       

      from().choice().when().method().process().to().when().method().process().to().end();

       

      I want to evaluate against the second "method" depending on the output from the first "to".  If the second "method" evalutes to false, I want to return the output from the first "to".

       

      When I run the code, it only evaluates against the first "method" and never hits the second "method".