The Load file filter enables you to load the contents of the specified
file, and set them as message content to be processed. When the contents of the file are
loaded, they can be passed to the core message pipeline for processing by the appropriate
message filters. For example, the Load file filter might be used in cases
where an external application drops XML files on to the file system to be validated, modified,
and potentially routed on over HTTP, JMS, or simply stored to a directory where the application
can access them again.
For example, this sort of protocol mediation can be useful when integrating legacy systems.
Instead of making drastic changes to the legacy system by adding an HTTP engine, the Enterprise Gateway
can load files from the file system, and route them on over HTTP to another back-end system. The
added benefit is that messages are exposed to the full compliment of message processing filters
available in the Enterprise Gateway. This ensures that only properly validated messages are routed on
to the target system.
|