Send Input Control Message

The following is an example of a control message that would  be send into the eagle_ml-2-0_default_cm_control_message stream to use the Purge and Archive feature on the box (the linked stream is eagle_ml-2-0_default_cm_purge_archive)
You will want to change the various parameters values in this example to meet your specific needs

Input Control Message Example

<EagleML xmlns="http://www.eagleinvsys.com/2011/EagleML-2-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="RunTaskRequest" eaglemlVersion="2-0" xsi:schemaLocation="http://www.eagleinvsys.com/2011/EagleML-2-0 eagleml-main-2-0.xsd" eaglemlType="RunTaskRequest">        <header>               <messageId>Purge_And_Archive_Run</messageId>               <sentBy>http://www.client.com</sentBy>               <sendTo>http://www.eagleinvsys.com/eagle_ml-2-0_default_cm_control_message</sendTo>               <replyTo>http://www.client.com/Eagle Control Messages</replyTo>               <creationTimestamp>2012-08-02T22:13:32.272-05:00</creationTimestamp>        </header>        <taskIdentifier>               <correlationId correlationIdScheme="correlationIdScheme">[unique_corr_id_value]</correlationId>               <businessTaskId correlationIdScheme="businessTaskIdScheme">[business_task_id_value]</businessTaskId>        </taskIdentifier>        <taskTypeEnum>NEW</taskTypeEnum>        <taskParameters>               <taskParameter>                      <name>ActionType</name>                      <dataType>S</dataType>                      <value>EXECUTE</value>               </taskParameter>               <taskParameter>                      <name>StreamName</name>                      <dataType>S</dataType>                      <value>eagle_ml-2-0_default_cm_purge_archive</value>               </taskParameter>               <taskParameter>                      <name>PurgeArchiveParams</name>                      <dataType>S</dataType>                      <value>                          FILE;ALLMCSTREAMFOLDERS;processing;*;ARCHIVE;data/msgcenter/cmw/custom_ack/;N;72|                          FTP;FOLDER;CMW/inbound_tst;*;PURGE;;;0|                      </value>               </taskParameter>               <taskParameter>                      <name>PurgeArchiveMode</name>                      <dataType>S</dataType>                         <value>                      LISTONLY                           </value>               </taskParameter>        </taskParameters> </EagleML>

The PurgeArchiveParams taskParameter node value sets the parameters for Purge and Archive.
The PurgeArchiveMode taskTarameter node value defines the mode of Purge and Archive.