java - Camel file component URI format -


camel file component supports 2 notations uri format:

file:directoryname[?options] file://directoryname[?options] 

why second 1 exist? less readable, when using unix-like absolute paths, frequent use case. in general, should give preference 1 on other?

the // part of camel file component itself(and other camel components). optional u don't have use it.

in case of file component , unix absolute paths can use file:///directoryname example.


Comments