Versions Compared

Key

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

...

The following table provides more details about the function of each component and bean in the servicemix.xml file.

Component or Bean ID

Description

There are two components and a referenced bean (used by one of the components) in the servicemix.xml file:

Component

Description

filePoller

periodically checks the "inbox" directory and recursively scans subdirectories for new files. If there is a file present, it converts the file into a normalized message and sends it over the Normalized Message Router (NMR) to the fileSender component.

fileSender

this component listens for normalized messages. The messages it receives are the files that filePoller has transferred to it via the NMR. It converts the normalized message to its original file format by processing it and sending it to the destination directory, in this case the outbox directory.

workManager

this bean is used by the filePoller to increase the throughput of the application. The workManager is a thread pool whose size can be adjusted declaratively in the servicemix.xml file. The workManager processes the workingSet. The workingSet is the collection of files to be transfered over the NMR. The workManager continually dispatches a unit of work, i.e., a file transfer, to one of the threads in its pool, until the workingSet has been fully transfered.

...

For more information on the following topics please see: