Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

MC2 keeps a cache of processing rules. To reinit the rule cache the REST endpoint with offset 206 (default port 20426) should be used:

http://appserver:20426/services/eagle/v2/commands/reinitrulecache

This will reinitialize the rule cache for all MC2 instances with the same AppID.

This endpoint is available only from the application server.


There is another way to reinit the rule cache by using SOAP request or executing eagle_ml-2-0_extract_service_control_message stream.

It works in the same way as with restart MC2 except that different commandType RTR task parameter, HTTP headerFeedType RTR task parameter are used and that any users have access to reinitialize the rule cache.

Here is an RTR example:

RTR_REINITMC2.xml
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
  <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <runTaskRequest xmlns="http://www.eagleinvsys.com/2011/wsdl/EagleML-2-0">
      <EagleML xmlns="http://www.eagleinvsys.com/2011/EagleML-2-0" eaglemlVersion="2-0" xsi:schemaLocation="http://www.eagleinvsys.com/2011/EagleML-2-0 eagleml-main-2-0.xsd" eaglemlType="RunTaskRequest">
        <header>
          <messageId>541C2B1B66833C6C</messageId>
          <sentBy>http://www.client.com/user</sentBy>
          <sendTo>http://www.eagleinvsys.com/eagle_ml-2-0_default_cm_wrkfl_listener</sendTo>
        </header>
        <taskIdentifier>
          <correlationId correlationIdScheme="correlationIdScheme">{GUID}</correlationId>
          <businessTaskId correlationIdScheme="businessTaskIdScheme">541C2B1B66833C6C</businessTaskId>
        </taskIdentifier>
        <taskParameters>
          <taskParameter>
            <name>FeedType</name>
            <dataType>S</dataType>
            <value>REINIT</value>
          </taskParameter>
          <taskParameter>
            <name>ActionType</name>
            <dataType>S</dataType>
            <value>EXECUTE</value>
          </taskParameter>
		  <taskParameter>
            <name>commandType</name>
            <dataType>S</dataType>
            <value>reinitrulecache</value>
          </taskParameter>
		  <taskParameter>
            <name>commandValue</name>
            <dataType>S</dataType>
            <value>all</value>
          </taskParameter>
		</taskParameters>
      </EagleML>
    </runTaskRequest>
  </s:Body>
</s:Envelope>


See information about restart MC2 here.

  • No labels