Here is route information.
file:/app/test/sat_data/tp/test1?readLock=changedmaxMessagesPerPoll=1preMove=wipinitialDelay=3000delay=3000autoCreate=falsemove=done/${date:now:MMdd}/${file:name}.${date:now:MMddhhmmss}moveFailed=errorscheduledExecutorService=#filewatcherThreadPool
Thread Pool
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
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
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
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 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:
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.
I tried below option and it is working
camel:from
uri=file:/app/test/data/inbox?readLock=changedamp;delete=trueamp;preMove=processingamp;maxMessagesPerPoll=1/
But I would like to go for multiple messages for poll. do you have any
solution for this?
--
View this message in context: