camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vishal1981 <>
Subject Re: Overriding ScheduledPollConsumer
Date Mon, 11 Feb 2013 22:54:37 GMT
Hi Claus,

Am a little confused - Is this really fixed or am I interpreting this

I have 2.10.2 and a route as bellow,

    	  .process(new Processor()
			public void process(Exchange exchange) throws Exception {
				System.out.println("hello "+System.currentTimeMillis());
When I send it a message via,
ProducerTemplate pt  = camelContext.createProducerTemplate();
	  pt.sendBody("direct:start", "something");

Following happens,
1. If the file is not available an exchange with null body is send to the
processor defined inline. Shouldn't the timeout rather cause an exception?
2. After that one run it goes in a frenzy with messages like below,
TRACE - Scheduled task started on:  
TRACE - Cannot start to poll: Endpoint[file://myfolder?fileName=file.xml] as
its suspended
It seems the like the scheduler infact does run, but realizes that it should
not do anything and sleeps again. Shouldn't it just stop completely?


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message