blob: fe4f2037eb746128c36ff5330d267ccce73f7b21 [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 an {{xbean.xml}} 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
h3. {{vfs:poller}}
h4. Endpoint properties
h3. {{vfs:sender}}
h4. Endpoint properties