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}")
>
s to keep running until I kill the process.
I know am missing something, but am not able to figure that out.
--
View this message in context:
http://camel.465427.n5.nabble.com/Move-does-not-work-with-file-polling-tp4876472p4889423.html
Sent from the Camel - Users mailing list archive at Nabble.com.
o implement endless polling on a
> directory for files.
> Not quite understanding the behind work of Camel PlooingConsumer.
> I tried various ways but, the process terminates as soon as the current set
> of files have been read and processed.
>
> Appreciate your help.
>
>
.
--
View this message in context:
http://camel.465427.n5.nabble.com/Move-does-not-work-with-file-polling-tp4876472p4889193.html
Sent from the Camel - Users mailing list archive at Nabble.com.
.nabble.com/Move-does-not-work-with-file-polling-tp4876472p4888954.html
Sent from the Camel - Users mailing list archive at Nabble.com.
producer.process(newExchange);
>
> consumerX = consumer.receive(timeout);
> }
> Thread.sleep(1000);
> }
> }catch(Exception ex){
>
27.n5.nabble.com/Move-does-not-work-with-file-polling-tp4876472p4876472.html
Sent from the Camel - Users mailing list archive at Nabble.com.