camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brendan Long <bren...@realgo.com>
Subject Re: Move does not work with file polling
Date Tue, 11 Oct 2011 15:47:50 GMT
On 2011-10-10 1:19 PM, ebinsingh wrote:
>         context.addRoutes(new RouteBuilder() {
>             public void configure() {
>             
> from("quartz://myTimer?trigger.repeatInterval=2000&trigger.repeatCount=-1")
>                 .setBody().simple("I was fired at ${header.fireTime}")
>                 .to("jms:queue:test_request_1");
>             }
>         });
>
> rom the Camel - Users mailing list archive at Nabble.com.
Any reason you're not just using a timer
<https://camel.apache.org/timer.html> directly?

from("timer:myTimer?period=2000&fixedRate=true")

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message