Changing the second route as the following makes the unit-test to pass:

    @Override
    protected RouteBuilder createRouteBuilder() throws Exception {
        return new RouteBuilder() {
            @Override
            public void configure() throws Exception {
                from("direct:start").to("direct:process").to("mock:result");

                from("direct:process").process(new Processor() {
                    @Override
                    public void process(Exchange exchange) throws Exception
{
                        exchange.getIn().setBody("1+2+3");
                    }
                }).to("mock:result2");
            }
        };
    }

So to me this's definitely a bug!

Babak



--
View this message in context: 
http://camel.465427.n5.nabble.com/Splitter-aggregator-dynamic-timeout-tp5717166p5717224.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to