Versions Compared

Key

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

...

The File Binding XML file, servicemix.xml, contains two components and a supporting bean. One component waits for a file to be deposited into the the inbox directory, retrieves it, sends it to the Normalized Message Router (NMR). The NMR routes the file to another component, which deposits it into an outbox directory.

...

From a command shell, go to the File Binding example directory:

Code Block
cd [servicemix_install_dir]\examples\file-binding

...

If you would like to see more files moved from inbox to outbox, copy another file into the inbox directory. The file binding program continually polls (every 1000 ms) for new files while it is running, so any new file placed in inbox, will be transmitted to outbox.

Stopping the File Binding Example

To terminate the File Binding example type "CTRL-C" in the command shell in which it is running and answer "y" to the "Terminate batch job (y/n)?" question.

...