...
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, then retrieves it from there and sends it over the Normalized Message Router (NMR) to another component which deposits the file into an outbox directory. Note: the file to be transmitted must be in XML format.
Running the File Binding Example
...
After a few seconds of running the example, the test-file.xml
file will appear in the outbox directory. To see this open another command window and do a directory listing on the outbox directory:
Code Block |
---|
dir [servicemix_install_dir]\bin\servicemix\examples\outbox
|
The files
Stopping the File Binding Example
...