Make dynamic aggregator batch options configuration more easy.
--------------------------------------------------------------

                 Key: CAMEL-2140
                 URL: https://issues.apache.org/activemq/browse/CAMEL-2140
             Project: Apache Camel
          Issue Type: Improvement
          Components: camel-core
    Affects Versions: 2.0.0
            Reporter: Eric Bouer


dynamically setting the batchsize/timeout etc from header or dynamic expression 
is not straight forward.
I would expect something like this:
from("direct:a").aggregate(header("CLASSID")).batchTimeout(header("NUMBEROFSTUDENTS")).to("mock:result")

or 

from("direct:a").aggregate(header("CLASSID")).setProperty(Exchange.BATCH_TIMOUT,header("ESTIMATION")).to("mock:result")


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to