Re: Large Number of threads getting spawned in File Producer

2015-05-29 Thread Kondalarv
Hi Chirag, Did you resolve this issue? If so, what is the root cause of this problem?. -- View this message in context: http://camel.465427.n5.nabble.com/Large-Number-of-threads-getting-spawned-in-File-Producer-tp5746781p5767668.html Sent from the Camel - Users mailing list archive at

Re: Large Number of threads getting spawned in File Producer

2015-05-29 Thread Kondalarv
Hi Chirag, Did you resolve this issue? is so what is the root cause of this problem?. -- View this message in context: http://camel.465427.n5.nabble.com/Large-Number-of-threads-getting-spawned-in-File-Producer-tp5746781p5767667.html Sent from the Camel - Users mailing list archive at

Re: Large Number of threads getting spawned in File Producer

2014-02-05 Thread Claus Ibsen
From: Claus Ibsen > To: "users@camel.apache.org" > Sent: Wednesday, 5 February 2014 1:27 PM > Subject: Re: Large Number of threads getting spawned in File Producer > > > The ftp consumer in Camel is a single threaded scheduled thread pool. > > So if threads is s

Re: Large Number of threads getting spawned in File Producer

2014-02-05 Thread Chirag Dewan
: Richard Kettelerij To: "users@camel.apache.org" Sent: Wednesday, 5 February 2014 1:31 PM Subject: Re: Large Number of threads getting spawned in File Producer Hi, I'd be surprised if a thread was started for every file. By default the file consumer is using a thread pool of

Re: Large Number of threads getting spawned in File Producer

2014-02-05 Thread Chirag Dewan
s@camel.apache.org" Sent: Wednesday, 5 February 2014 1:27 PM Subject: Re: Large Number of threads getting spawned in File Producer The ftp consumer in Camel is a single threaded scheduled thread pool. So if threads is spawned it happens somewhere else. Maybe you do something in that processor th

Re: Large Number of threads getting spawned in File Producer

2014-02-05 Thread Richard Kettelerij
Hi, I'd be surprised if a thread was started for every file. By default the file consumer is using a thread pool of size 1. Anyway you can customize this by specifying a ScheduledExecutorService on the endpoint (e.g. ftp://.&scheduledExecutorService=#myExecutorService) where myExecutorService

Re: Large Number of threads getting spawned in File Producer

2014-02-04 Thread Claus Ibsen
The ftp consumer in Camel is a single threaded scheduled thread pool. So if threads is spawned it happens somewhere else. Maybe you do something in that processor that causes threads to be spawned. You can try to just do from ftp -> to file or from ftp -> to log and see if there is some changes.

Re: Large Number of threads getting spawned in File Producer

2014-02-04 Thread Chirag Dewan
Hi All, Any views on this? BR, Chirag

Large Number of threads getting spawned in File Producer

2014-02-04 Thread Chirag Dewan
Hi All, I am using Camel 2.12.1. I have a route which consumes files from a FTP Server and places them on the local disk. from("ftp:admin@ip:port/source_dir&throwExceptionOnConnectFailed=true&stepwise=false&readLock=changed&fastExistsCheck=true&localWorkDirectory=destination_dir/.temp").to("fil