|
Timer has been edited by Claus Ibsen (Aug 25, 2008). Change summary: CAMEL-845 Timer ComponentThe timer: component is used to generate message exchanges when a timer fires You can only consume events from this endpoint. URI formattimer:name?options Where options is a query string that can specify any of the following parameters:
Exchange PropertiesWhen the timer is fired it adds the following information as properties to the Exchange.
UsingTo setup a route that generates an event every 60 seconds: from("timer://foo?fixedRate=true&delay=0&period=60000").to("bean:myBean?methodName=someMethodName");
The above route will generate an event then invoke the someMethodName on the bean called myBean in the Registry such as JNDI or Spring. See Also |
Powered by
Atlassian Confluence
(Version: 2.2.9 Build:#527 Sep 07, 2006)
-
Bug/feature request
Unsubscribe or edit your notifications preferences
Unsubscribe or edit your notifications preferences
