13.07.2015 Views

TIBCO MDM Customization Guide - TIBCO Product Documentation

TIBCO MDM Customization Guide - TIBCO Product Documentation

TIBCO MDM Customization Guide - TIBCO Product Documentation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

122 Chapter 6 FileWatcher|FileWatcher OverviewTo understand material presented in this chapter, the following skills and accessprivileges are required:• Working knowledge of XML• Working knowledge of <strong>TIBCO</strong> <strong>MDM</strong>• Access to $MQ_HOME/config directory• Privileges to modify FileWatcher.xmlOverview of FileWatcherFilewatcher provides a file-based integration method for some of the workflowoperations. Once configured, workflows can be triggered when new files aredetected and input files are processed.FileWatcher polls the directories specified in the configuration file for any newfiles created there. The polling is done at a configured interval specified in theconfiguration file. When a new file is detected, it is processed according to thespecifications defined in a configuration file.After the file is successfully processed, it is moved to a /done directory. Thisprevents the file from being picked up on subsequent polls. FileWatcher has anoption to detect duplicate files by the filename. If a previously processed file(name) is copied to /incoming, it is not processed again, and is moved to/Reject.Configuration FileThe FileWatcher configuration file specifies how an input file should beprocessed, and the directory location for the file after processing is complete. Thelocation of the FileWatcher configuration file is defined in the Configurator(Configuration Files > File Watcher Configuration File). The default is$MQ_HOME/config/FileWatcher.xml.When the application is installed, the default configuration is placed in$MQ_HOME/config/FileWatcher.xml. Although it is not recommended, you canrelocate this file to any other location relative to $MQ_HOME.When the application is running, and if any change is made to FileWatcher.xml,it is automatically deployed the next time the file is accessed. Although eachinstance deployed in a cluster can have different FileWatcher configuration, it isrecommended that all servers share the same configuration.<strong>TIBCO</strong> <strong>MDM</strong> <strong>Customization</strong> <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!