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:
Expand the JBoss 5.1 Runtime Servers and locate Filesets, right click on it and select Create File Filter:
In the New File Filter dialog, enter Name as "FileProvider", Root Directory as "server/${jboss_config}/tmp" and Includes as "*.sentToEsb":
Click OK and there should be an entry for FileProvider, as follows:
Right click on the FileProvider filter and click Edit File Filter:
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.