Time for action – creating File Filters

In this section we will demonstrate the necessary steps for creating a File Filter within the Server Runtime environment. This File Filter will allow us to discover those temporary files which are created as part of the execution of the following examples, matching on the pattern used for their naming. Follow these steps to create a File Filter:

  1. Expand the JBoss 5.1 Runtime Servers and locate Filesets, right click on it and select Create File Filter:
    Time for action – creating File Filters
  2. In the New File Filter dialog, enter Name as "FileProvider", Root Directory as "server/${jboss_config}/tmp" and Includes as "*.sentToEsb":
    Time for action – creating File Filters
  3. Click OK and there should be an entry for FileProvider, as follows:
    Time for action – creating File Filters
  4. Right click on the FileProvider filter and click Edit File Filter:
    Time for action – creating File Filters
  5. This should open up the New File Filter dialog again. Click OK and the files should get refrshed.

What just happened?

We have now created a File Filter that will allow us to discover the temporary files which are created during execution of the examples. By repeating step 4 and step 5, after having executed the examples, we will be able to refresh the list of files that are detected.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset