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 {{http://servicemix.apache.org/file/1.0}}. This is an example of an {{xbean.xml}} file with a namespace definition with prefix {{bean}}. {pygmentize:lang=xml} {pygmentize} 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 {include:jbi/components/_servicemix-file-poller.conf} h3. {{file:sender}} h4. Endpoint properties {include:jbi/components/_servicemix-file-sender.conf}