You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Sean Beck <se...@gmail.com> on 2013/07/10 00:49:27 UTC

Question on completionTimeout in AggregateDefinition

If i set the timeout for one minute in an aggregator will the timer restart
every time a new message comes over? Thanks

Re: Question on completionTimeout in AggregateDefinition

Posted by Sean Beck <se...@gmail.com>.
Awesome thanks. Timeout is what I am using and it seemed to be waiting for
inactivity, which I wanted, but I wanted to make sure.

On Tue, Jul 9, 2013 at 11:52 PM, Claus Ibsen <cl...@gmail.com> wrote:

> Hi
>
> There is 2 timer related options
> - timeout
> - interval
>
> The former is based on inactivity, and the latter is triggered in
> fixed schedules after a given interval elapsed.
> And the former is based on per correlated key, and the latter is
> general and for all.
>
> See details at
> http://camel.apache.org/aggregator2
>
>
>
> On Wed, Jul 10, 2013 at 12:49 AM, Sean Beck <se...@gmail.com>
> wrote:
> > If i set the timeout for one minute in an aggregator will the timer
> restart
> > every time a new message comes over? Thanks
>
>
>
> --
> Claus Ibsen
> -----------------
> Red Hat, Inc.
> Email: cibsen@redhat.com
> Twitter: davsclaus
> Blog: http://davsclaus.com
> Author of Camel in Action: http://www.manning.com/ibsen
>

Re: Question on completionTimeout in AggregateDefinition

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

There is 2 timer related options
- timeout
- interval

The former is based on inactivity, and the latter is triggered in
fixed schedules after a given interval elapsed.
And the former is based on per correlated key, and the latter is
general and for all.

See details at
http://camel.apache.org/aggregator2



On Wed, Jul 10, 2013 at 12:49 AM, Sean Beck <se...@gmail.com> wrote:
> If i set the timeout for one minute in an aggregator will the timer restart
> every time a new message comes over? Thanks



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Re: Question on completionTimeout in AggregateDefinition

Posted by Christian Posta <ch...@gmail.com>.
nope. it will send off all the messages it has received in that one minute,
then restart.




On Tue, Jul 9, 2013 at 6:49 PM, Sean Beck <se...@gmail.com> wrote:

> If i set the timeout for one minute in an aggregator will the timer restart
> every time a new message comes over? Thanks
>



-- 
*Christian Posta*
http://www.christianposta.com/blog
twitter: @christianposta