camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ee7arh <>
Subject DSL Content Router interrupted with splitter() or multicast()
Date Thu, 05 Mar 2009 09:25:53 GMT


When I tryto use the functions "splitter()" or "multicast()" in my DSL
within a "choice()" block, I am not able to have another "when()" or even an

Predicate isInvitation
        = PredicateBuilder.regex(header("event_type"), "invitation");

Predicate isReply
        = PredicateBuilder.regex(header("event_type"), "reply");

        .splitter(body()) // This line causes a compilcation problem on the
next when() or otherwise()

If I take out the splitter() line above, all works fine and I can have as
many when() statements as I like. Is there a reason why this doesn't work?


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message