<application name="recorder" > <deployment> <lib url="recorderEngine.jar" /> </deployment> <modules> <module name="recorder" > <interfaces> <listen service="service1"/> <listen service="service2"/> <listen service="service3"/> </interfaces> </module> </modules> </application>
service1, then service2, then service3:service1, the second only with service2, the last only with service3
includeAllServices property is true, for each of the subscribed service the content of all the services will be serialized in the json file. Suppose that the recorder is notified from service1, then service2, then service3:service1, service2, and service3
includeAllServices property is not set or false, and the splitGroups property is set, this array property will be used to specify which service notification will be serialized, and which services will be included in the serialization.
<service name or uri 1>...<service name or uri n>
For example:<moduleArrayProperty key="splitGroups"> <value value="service1;service2;service3" /> </moduleArrayProperty>The recorder will only record when notified from
service name or uri n, with the content of all the services from service name or uri 1 to service name or uri n.<properties> <application name="recorder"> <module name="recorder"> <moduleProperty value="scenario" key="scenario"/> <moduleProperty value="true" key="splitFiles"/> <moduleProperty value="${YEAR}-${MONTH}-${DAY}-scenario-${INDEX}" key="splitNamePattern"/> <moduleArrayProperty key="splitGroups"> <value value="service1;service2;service3" /> </moduleArrayProperty> <moduleProperty value="json" key="format"/> </module> </application> </properties>Suppose that the recorder is notified from
service1, then service2, then service3:service3 notification, and with the content of service1, service2, and service3
<service name or uri 1>...<service name or uri n>
This means that for example if we have the following splitGroups property:<moduleArrayProperty key="splitGroups"> <value value="service1;service2;service3" /> </moduleArrayProperty>And we are notified from "service3" without having been notified from
service1 or service2 prior to service3, we will still record the content of service1, service2, and service3 with their last received content:
splitGroups property, it will be recorded as soon as it has been notified. For example, suppose that we have the following configuration:<application name="recorder" > <deployment> <lib url="recorderEngine.jar" /> </deployment> <modules> <module name="recorder" > <interfaces> <listen service="service1"/> <listen service="service2"/> <listen service="service3"/> <listen service="service4"/> </interfaces> </module> </modules> </application>and the following properties specification:
<properties> <application name="recorder"> <module name="recorder"> <moduleProperty value="scenario" key="scenario"/> <moduleProperty value="true" key="splitFiles"/> <moduleProperty value="${YEAR}-${MONTH}-${DAY}-scenario-${INDEX}" key="splitNamePattern"/> <moduleArrayProperty key="splitGroups"> <value value="service1;service2;service3" /> </moduleArrayProperty> <moduleProperty value="json" key="format"/> </module> </application> </properties>Then if we receive
service4, we will record only its content:
Copyright 2017-2020 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence