Re: File Component : scheduledExecutorService throwing Error

2015-06-02 Thread Kondalarv
Here is route information. file:/app/test/sat_data/tp/test1?readLock=changed&maxMessagesPerPoll=1&preMove=wip&initialDelay=3000&delay=3000&autoCreate=false&move=done/${date:now:MMdd}/${file:name}.${date:now:MMddhhmmss}&moveFailed=error&scheduledExecutorService=#filewatcherThreadPool Threa

File Component : scheduledExecutorService throwing Error

2015-06-02 Thread Kondalarv
I am using scheduledExecutorService for File Component but I am getting the below Error. Could not find a suitable setter for property: scheduledExecutorService as there isn't a setter method with same type: java.lang.String nor type conversion possible: No type converter available to convert from

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 Nabble

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 Nabble.

Re: Content Based Router : Java DSL is not working

2015-05-27 Thread Kondalarv
How to get EndPoint File Directory using camel annotation, I am getting "preMove" directory from Headers, not EndPoint Dir. Looks like I need @Exchange annotation but it is not available. ((FileEndpoint)exchange.getFromEndpoint()).getConfiguration().getDirectory(); Please help me on this. --

Content Based Router : Java DSL is not working

2015-05-25 Thread Kondalarv
I have choice with many options, and using java operation for conditions. The route is going to otherwise() option always and checckFilePattern() method is not executing. from(FILE_WATCHER_DSL) .log(LoggingLevel.INFO, FileWatchDSLUtil.getFileLogPattern())

Re: Camel File Consumer : Pre processing steps

2015-05-20 Thread Kondalarv
I have to send multiple events to external system based on file status like 1. File is started coming to directory. 2.update file size periodically till complete file 3. Complete file is available Step(3) I can do using process but note sure how to implement other events. -- View this me

Re: Camel File Consumer : Pre processing steps

2015-05-20 Thread Kondalarv
Thank you for inputs. I would like to do once before every file and need file name to execute pre processing logic. Kindly share example if you have any. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-File-Consumer-Pre-processing-steps-tp5767348p5767361.html Sent from

Camel File Consumer : Pre processing steps

2015-05-20 Thread Kondalarv
Here is camel route for file consumer that picks up file from a directory and process it. (file:/app/test/inbound?readLock=changed&maxMessagesPerPoll=1&preMove=wip&initialDelay=5000&delay=1000&autoCreate=false&move=done/${date:now:}/${file:name}.${date:now:MMddhhmmss}).processRef("fileW

Polling multiple directories in parallel - Performance

2015-05-16 Thread Kondalarv
I want to use Camel for Polling a Directory for Input Files. I have around 100 directories for polling with multiple file patterns for each directory. How is Camel performance on this and how it handle internally? -- View this message in context: http://camel.465427.n5.nabble.com/Polling-multi

RE: Input directory with multiple file consumers

2015-01-20 Thread Kondalarv
I tried below option and it is working http://camel.465427.n5.nabble.com/Input-directory-with-multiple-file-consumers-tp5713788p5761967.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: File Competing Consumers

2015-01-20 Thread Kondalarv
I don't find any example code on this. Can you please provide me a sample ? -- View this message in context: http://camel.465427.n5.nabble.com/File-Competing-Consumers-tp5714255p5761968.html Sent from the Camel - Users mailing list archive at Nabble.com.