MD5 as idempotentKey in Apache Camel

The default behavior is that the absolute file path is used to uniquely identify files - I would like customize this to use the md5 checksum of the file.

Is it possible to simply implement a custom idempotentKey (that doesn't use the 'File Language')?

Answer:1

How can I create implementations of an interface dynamically at runtime in java? I have a factory that will read the annotations on class Foo and create an instance of class Bar. For this factory to ...

I'm trying to understand recursion with the help of few examples. I found this example of printing all possible combinations of r elements in a given array of size n using recursion. Print all ...

I need to create some directories and files and all of them should have permission 0600. When I Run from NetBeans Debug: After creating directory when i try to store some files there I get IOException ...

I am writing a program which reads in files and then processes them. At the moment, I am using a BufferedReader to read in a list of files from a txt file. This txt file was generated in a command ...