Re: Polling consumer does not stop when pollStrategy specified

2013-01-08 Thread Willem jiang
Can you check if the files are pulled already? If there is no new file to be pulled, the stream:out will not print any things out. -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http://willemjiang.blogspot.com (http

Re: Polling consumer does not stop when pollStrategy specified

2013-01-08 Thread babu.sona2001
Sorry.. I take that back. camelContext.stopRoute() stops the route. But then, if I call camelCOntext.startRoute(), only the file polling is started. It does not print anything in console. What happens to stream:out? -- View this message in context: http://camel.465427.n5.nabble.com/Polling-cons

Re: Polling consumer does not stop when pollStrategy specified

2013-01-08 Thread Claus Ibsen
Hi There is API on CamelContext to stop routes by its id camelContext.stopRoute("routeId"); On Tue, Jan 8, 2013 at 9:06 AM, babu.sona2001 wrote: > I have as follows. I want to stop it, modify and start it. > > from('file://D:/temp/20130801/inbound?pollStrategy=#errorHandlerService') > .rou