The following example runs chain extraction with several sample filters:
Code Block |
---|
|
<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>TEST_CHAIN</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">chain_extract_test</correlationId>
<businessTaskId correlationIdScheme="businessTaskIdScheme">chain_extract_test</businessTaskId>
</taskIdentifier>
<taskTypeEnum>NEW</taskTypeEnum>
<taskParameters>
<taskParameter>
<name>ActionType</name>
<value>EXTRACT</value>
</taskParameter>
<taskParameter>
<name>StreamName</name>
<value>eagle_ml-2-0_default_out_q</value>
</taskParameter>
<taskParameter>
<name>FeedType</name>
<value>SMFEXTRACT</value><!-- must match the first in the chain -->
</taskParameter>
<taskParameter>
<name>ChainExtracts</name>
<dataType>S</dataType>
<value>SMFEXTRACT,WRHSPOSITIONEXTRACT,ENTITYEXTRACT</value>
</taskParameter>
<!-- common filters -->
<taskParameter>
<name>maxrows</name>
<dataType>S</dataType>
<value>100</value>
</taskParameter>
<!-- custom filters for specific extracts in the chain -->
<taskParameter>
<name>UseGenericExtractorAllTaskParams</name><!--must exist in case of using custom [feedtype]_filters -->
<dataType>S</dataType>
<value>Y</value>
</taskParameter>
<taskParameter>
<name>SMFEXTRACT_maxrows</name>
<dataType>S</dataType>
<value>22</value>
</taskParameter>
<taskParameter>
<name>WRHSPOSITIONEXTRACT_maxrows</name>
<dataType>S</dataType>
<value>12</value>
</taskParameter>
<taskParameter>
<name>WRHSPOSITIONEXTRACT_entityselectiontype</name>
<dataType>S</dataType>
<value>EntityID</value>
</taskParameter>
<taskParameter>
<name>WRHSPOSITIONEXTRACT_entityselectionvalue</name>
<dataType>S</dataType>
<value>myFakeEnt1t</value>
</taskParameter>
<!-- Compress each extract in the chain to separate archive file -->
<taskParameter>
<name>Compress</name>
<dataType>S</dataType>
<value>Y</value>
</taskParameter>
<taskParameter>
<name>OutputZipFileNamePattern</name>
<dataType>S</dataType>
<value>myChainZip</value>
</taskParameter>
</taskParameters>
</EagleML> |