Re: FileAsyncStressReadLockLockFileTest and maxMessagePerPoll. picking twice

2013-07-04 Thread ltsallas
Thanks saltniight5, it works like a charm now. Afroze take a look at https://fisheye6.atlassian.com/browse/camel-git/camel-core/src/test/java/org/apache/camel/component/file/stress/FileAsyncStressTest.java?hb=true -- View this message in context: http://camel.465427.n5.nabble.com/FileAsyncS

Re: Custom logging of exceptions by file component

2013-07-03 Thread ltsallas
Take a look at http://camel.apache.org/eventnotifier-to-log-details-about-all-sent-exchanges.html I think you can implement a custom event notifier and log everything you like when ExchangeFailedEvent occurs -- View this message in context: http://camel.465427.n5.nabble.com/Custom-loggin

Re: FileAsyncStressReadLockLockFileTest and maxMessagePerPoll. picking twice

2013-07-03 Thread ltsallas
I ran various org.apache.camel.component.file.stress.FileAsyncStressTest tests and when the initial files in the inbox folder are 2000 and maxMessagesPerPoll is 50, I always get files being processed twice with all readLock options, except rename.Mind that I am using an additional move option to m

FileAsyncStressReadLockLockFileTest and maxMessagePerPoll

2013-07-02 Thread ltsallas
Can you explain a little bit more this comment in org.apache.camel.component.file.stress.FileAsyncStressReadLockLockFileTest? // leverage the fact that we can limit to max 50 files per poll // this will result in polling again and potentially picking up files

Re: camel 2.11 release with activemq-camel 5-8?

2013-06-20 Thread ltsallas
Thanks a lot Christian! It worked. BR, Lefteris -- View this message in context: http://camel.465427.n5.nabble.com/camel-2-11-release-with-activemq-camel-5-8-tp5733244p5734440.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: camel 2.11 release with activemq-camel 5-8?

2013-06-19 Thread ltsallas
Can someone give me a hint on this issue with ActiveMQ component? In http://camel.apache.org/activemq.html I can read that to get camel to work with activemq : I need this dependency . activemq-camel Which version should I use with camel 2.11? Could this issue in comment 1 be a bug? Thanks

camel 2.11 release with activemq-camel 5-8?

2013-05-27 Thread ltsallas
Hi all, Which activemq-camel artifact version should I use with camel 2.11? When using activemq-camel 5.8 with camel 2.11 I get a I get a Caused by: java.lang.NoSuchMethodError: org.apache.camel.util.ObjectHelper.notNull(Ljava/lang/Object;Ljava/lang/String;)V at org.apache.camel.comp

Re: Filter files inside directory - camel 2.10.3

2012-12-21 Thread ltsallas
Yes but you always have to handle the directories inside the filter when using recursive=true Otherwise a filter like return file.getFileName().contains("pass"); will fail to catch files inside subfolders without saying anywhere no to the directories. http://pastebin.com/1MKwHD3p --

Filter files inside directory - camel 2.10.3

2012-12-21 Thread ltsallas
Hi all, This unit test in http://pastebin.com/PtyhjEG3 presents two situations * Check for files to skip passes always without using the commented isDirectory check * Check for files to accept passes only when a previous check on the directory My code in the previous version used the secon

Re: Debugging file component - breakpoint

2012-12-21 Thread ltsallas
Thanks for the answers. I used an extended Thread.sleep and it works fine. -- View this message in context: http://camel.465427.n5.nabble.com/Debugging-file-component-breakpoint-tp5724468p5724486.html Sent from the Camel - Users mailing list archive at Nabble.com.

Debugging file component - breakpoint

2012-12-20 Thread ltsallas
Hi, I am debugging some unit tests with routes using the file component consumer. When stopping on a breakpoint after a while I am getting. 2012-12-20 21:38:22,750 [main] INFO DefaultShutdownStrategy- Starting to graceful shutdown 1 routes (timeout 10 seconds) 2012-1