I am using filter as mentioned bellow. 1) I have two kinds of files TypeA and TypeB 2) When I get TypeB I am returning true in filter 3) When I am getting TypeA then I have to check status of previous consumed TypeA file in DB. If previous file of TypeA is processed completely then current TypeA file should be processed so I am sending true. 4) If previously consumed TypeA file is not processed I am sending false. So this goes in loop until previous consumed file is processed.
Now, TypeA file ABC.txt is conusmed and got true from filter so camelLock is getting created and file was moved for processing mean while again same file ABC coming to filtered to get process. Please let me know if any further information is required. -- View this message in context: http://camel.465427.n5.nabble.com/File-is-not-moved-to-camel-folder-once-it-is-processed-tp5753491p5753641.html Sent from the Camel - Users mailing list archive at Nabble.com.
