[ 
https://issues.apache.org/jira/browse/CAMEL-22831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18055171#comment-18055171
 ] 

Claus Ibsen commented on CAMEL-22831:
-------------------------------------

I took a look and IMHO this seems that the hash from the file-watcher library 
is only a hash of the directory path, and not the content of the file that 
would still require to read the content and compute the digest.

So I think this is not possible with this component

> camel-file-watch: Expose file hash in Exchange headers
> ------------------------------------------------------
>
>                 Key: CAMEL-22831
>                 URL: https://issues.apache.org/jira/browse/CAMEL-22831
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-file-watch
>    Affects Versions: 4.16.0
>            Reporter: Luigi De Masi
>            Assignee: Luigi De Masi
>            Priority: Minor
>             Fix For: 4.18.0
>
>
> Currently, the {{camel-file-watch}} component has the hash of the file 
> internally to detect changes and avoid duplicates. However, this information 
> is lost during the creation of 
> FileEvent from DirectoryChangeEvent
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to