blob: 367e4b94c5c45b2b17cd46b7f73c6c80b57dfaf9 [file] [log] [blame]
h2. servicemix-file
h3. Overview
The ServiceMix File component provides JBI integration to the file system. It can be used to read & write files via URI or to periodically poll directories for new files.
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:file="">
<!-- add file:poller and file:sender definitions here -->
h4. Endpoint types
The servicemix-file component defines two endpoint type:
- {{file:poller}} :: Periodically polls a directory for files and sends an exchange for every file
- {{file:sender}} :: Writes the contents of an exchange to a file
h3. {{file:poller}}
h4. Endpoint properties
h3. {{file:sender}}
h4. Endpoint properties