Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • use of declarative programming
  • how to interact with the file system
    The source code for the File Binding example is located in the ServiceMix installation directory under the examples\file-binding directory in the servicemix.xml file. It is recommended that you refer to the source code while reading this document.

    There are three components two components and a referenced bean (used by one of the components) in the servicemix.xml file. One component sets off a trigger to send messages to a source destination. Then those messages are consumed by another component and sent to a different output destination. A trace component displays the messages as they arrive. :
  • filePoller - periodically checks the "inbox" directory for new files. If there is a file present, it transports the file over the Normalized Message Router (NMR) to the fileSender component. It will also recursively scan subdirectories for files.
  • fileSender -
  • workManager -



Running the Basic Example

From a command shell, go to the Basic example directory:

...