camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tracy Snell (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAMEL-3688) Add repeatCount option to timer component
Date Mon, 21 Feb 2011 11:51:38 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-3688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12997361#comment-12997361
] 

Tracy Snell commented on CAMEL-3688:
------------------------------------

We do enforce unique timer names. So your example would throw an error. I'll stick the value
in the endpoint for now. 

> Add repeatCount option to timer component
> -----------------------------------------
>
>                 Key: CAMEL-3688
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3688
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-core
>    Affects Versions: 2.6.0
>            Reporter: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.7.0
>
>
> Sometimes you may just want to trigger a route once on startup. And using a timer for
that would be easy. But the timer will keep firing. So we need a {{repeatCount}} option.
> If we exceed the count then it should not emit any message.
> Ideally it should unschedule the task, and reset the count.
> Remember the current count is state full per timer task. So it needs to be stored on
the task. As you can have multiple timer tasks running (eg with different names)

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message