The MeF Module is able to perform all the currently supported functions of the MeF Web Service (under development). This page discusses the configuration of the MeF Module in the Gateway Client. The supported operations for this module are GET_NEW, and VIRUS_SCAN
The MeF Client Module section (below) is placed in the "modules" section of the main XML configuration in order to activate and configure the MeF Module. The section below is a basic configuration and as a result will execute the standard MeF procedure, which is to GET_NEW submissions and then VIRUS_CHECK them.
<mef-module enabled="true" priority="1">
<status-database>oracle.database</status-database>
<target-database>oracle.database</target-database>
<mef-web-service>mef-test</mef-web-service>
<gatewayav-web-service>av-test<gatewayav-web-service>
</mef-module>
Additional configuration XML may be added to customize the execution of the MeF Module. The example below displays how one would go about getting all new submissions from the IRS MeF web service.
<mef-module enabled="true" priority="1">
<status-database>oracle.database</status-database>
<target-database>oracle.database</target-database>
<mef-web-service>mef-test</mef-web-service>
<gatewayav-web-service>av-test<gatewayav-web-service>
<mef-step>
<mef-step-name>GET_NEW</mef-step-name>
</mef-step>
</mef-module>
The valid steps that can be run as specified in the "mef-step-name" are listed below:
GET_NEW - Get new submissions
VIRUS_SCAN - Scan all submissions currently un-scanned in DB