|
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.
Message HeadersWhen the timer is fired it adds the following information as headers to the IN message
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 |
Unsubscribe or edit your notifications preferences
