blob: 0a27049c0642261f3a73c8193ede70c64f7ce272 [file] [log] [blame]
h2. servicemix-vfs
h3. Overview
The ServiceMix VFS component provides support for reading from and writing to virtual file systems via the enterprise service bus by using the Apache commons-vfs library.
h4. Namespace and xbean.xml
The namespace URI for the servicemix-bean JBI component is {{}}. This is an example of <filename>xbean.xml</filename> file with a namespace definition with prefix {{bean}}.
<beans xmlns:vfs="">
<!-- add vfs:poller or vfs:sender here -->
h4. Endpoint types
The servicemix-vfs component defines two endpoint types:
- {{vfs:poller}} :: Periodically polls a directory on one of the VFS-supported file systems for files and sends an exchange for every file
- {{vfs:sender}} :: Writes the contents of an exchange to a file on one of the VFS-supported file systems