Hi

A good place to look is the EIP docs
http://camel.apache.org/aggregator2

See the section _dynamic completion timeout_

You can then use the simple language as you do below.
Or store a timeout in a header, and refer to that etc.

There is also unit tests in camel-core, you can check out.


On Fri, Aug 24, 2012 at 11:49 AM, Marco Westermann <marwesterm...@gmx.de> wrote:
> Hi,
>
> I have a java route which uses the aggregate. I would like to make the
> completionTimeout configurable via properties. What I already tried is to
> set the timeout with the simple language, but then I get an error, that the
> value is not allowed. How could I manage to make the timeout configurable.
> Is there a header I can set like
>
> setHeader("camelCompletionTimeout").simple("${properties:completionTimeout}")
>
> regards, Marco



-- 
Claus Ibsen
-----------------
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to