This copies an mbox file from a shared directory with multiple readers and writers into a private (presumably Camel-controlled) directory.
Dot locking is used on the source file (but not the destination).
source |
source file |
dest |
destination file |
Returns -1 on error or 0 on success. |