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
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
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
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.
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.
--
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())
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
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
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
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
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.
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.
12 matches
Mail list logo