You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by sc...@apache.org on 2009/08/14 22:08:45 UTC
svn commit: r804353 - in /incubator/uima/uima-as/trunk/uima-as-distr/src:
main/scripts/dd2spring.xsl test/java/org/apache/uima/as/dd/Dd2SpringTest.java
test/resources/deploy/TestThresholdWindow.xml
test/resources/deploy/expected/TestThresholdWindow.xml
Author: schor
Date: Fri Aug 14 20:08:45 2009
New Revision: 804353
URL: http://svn.apache.org/viewvc?rev=804353&view=rev
Log:
[UIMA-914]
Added:
incubator/uima/uima-as/trunk/uima-as-distr/src/test/resources/deploy/TestThresholdWindow.xml
incubator/uima/uima-as/trunk/uima-as-distr/src/test/resources/deploy/expected/TestThresholdWindow.xml
Modified:
incubator/uima/uima-as/trunk/uima-as-distr/src/main/scripts/dd2spring.xsl
incubator/uima/uima-as/trunk/uima-as-distr/src/test/java/org/apache/uima/as/dd/Dd2SpringTest.java
Modified: incubator/uima/uima-as/trunk/uima-as-distr/src/main/scripts/dd2spring.xsl
URL: http://svn.apache.org/viewvc/incubator/uima/uima-as/trunk/uima-as-distr/src/main/scripts/dd2spring.xsl?rev=804353&r1=804352&r2=804353&view=diff
==============================================================================
--- incubator/uima/uima-as/trunk/uima-as-distr/src/main/scripts/dd2spring.xsl (original)
+++ incubator/uima/uima-as/trunk/uima-as-distr/src/main/scripts/dd2spring.xsl Fri Aug 14 20:08:45 2009
@@ -2026,6 +2026,15 @@
<u:asyncPrimitiveErrorConfiguration>
<xsl:choose>
<xsl:when test="u:processCasErrors">
+ <xsl:if test="u:processCasErrors/@thresholdCount and u:processCasErrors/@thresholdWindow">
+ <xsl:if test="(u:processCasErrors/@thresholdWindow ne '0') and
+ ((u:processCasErrors/@thresholdCount cast as xs:integer) gt (u:processCasErrors/@thresholdWindow cast as xs:integer))">
+ <xsl:sequence select="f:msgWithLineNumber('ERROR',
+ ('The', u:processCasErrors/@thresholdWindow, ' must be either 0, or larger than the', u:processCasErrors/@thresholdCount),
+ .)"/>
+ </xsl:if>
+ </xsl:if>
+
<u:processCasErrors
thresholdCount= "{if (u:processCasErrors/@thresholdCount) then u:processCasErrors/@thresholdCount else 0}"
thresholdWindow="{if (u:processCasErrors/@thresholdWindow) then u:processCasErrors/@thresholdWindow else 0}"
@@ -2074,6 +2083,15 @@
<xsl:choose>
<xsl:when test="u:processCasErrors">
+ <xsl:if test="u:processCasErrors/@thresholdCount and u:processCasErrors/@thresholdWindow">
+ <!--xsl:message select="('*** Running test', 'gt 9', ('100' cast as xs:integer) gt ('9' cast as xs:integer), 'more' )"/-->
+ <xsl:if test="(u:processCasErrors/@thresholdWindow ne '0') and
+ ((u:processCasErrors/@thresholdCount cast as xs:integer) gt (u:processCasErrors/@thresholdWindow cast as xs:integer))">
+ <xsl:sequence select="f:msgWithLineNumber('ERROR',
+ ('The', u:processCasErrors/@thresholdWindow, ' must be either 0, or larger than the', u:processCasErrors/@thresholdCount),
+ .)"/>
+ </xsl:if>
+ </xsl:if>
<u:processCasErrors
maxRetries= "{if (u:processCasErrors/@maxRetries) then u:processCasErrors/@maxRetries else 0}"
timeout= "{if (u:processCasErrors/@timeout) then u:processCasErrors/@timeout else 0}"
Modified: incubator/uima/uima-as/trunk/uima-as-distr/src/test/java/org/apache/uima/as/dd/Dd2SpringTest.java
URL: http://svn.apache.org/viewvc/incubator/uima/uima-as/trunk/uima-as-distr/src/test/java/org/apache/uima/as/dd/Dd2SpringTest.java?rev=804353&r1=804352&r2=804353&view=diff
==============================================================================
--- incubator/uima/uima-as/trunk/uima-as-distr/src/test/java/org/apache/uima/as/dd/Dd2SpringTest.java (original)
+++ incubator/uima/uima-as/trunk/uima-as-distr/src/test/java/org/apache/uima/as/dd/Dd2SpringTest.java Fri Aug 14 20:08:45 2009
@@ -90,6 +90,10 @@
}
+ public void testDd2Spring_Bad_Window() throws Exception {
+ checkDd2Spring("TestThresholdWindow.xml");
+ }
+
public void testDd2Spring_Deploy_AggregateUsingRemoteTempQueueNoBroker() throws Exception {
checkDd2Spring("Deploy_AggregateUsingRemoteTempQueueNoBroker.xml");
}
Added: incubator/uima/uima-as/trunk/uima-as-distr/src/test/resources/deploy/TestThresholdWindow.xml
URL: http://svn.apache.org/viewvc/incubator/uima/uima-as/trunk/uima-as-distr/src/test/resources/deploy/TestThresholdWindow.xml?rev=804353&view=auto
==============================================================================
--- incubator/uima/uima-as/trunk/uima-as-distr/src/test/resources/deploy/TestThresholdWindow.xml (added)
+++ incubator/uima/uima-as/trunk/uima-as-distr/src/test/resources/deploy/TestThresholdWindow.xml Fri Aug 14 20:08:45 2009
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+ <!--
+ ***************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ ***************************************************************
+ -->
+
+<analysisEngineDeploymentDescription
+ xmlns="http://uima.apache.org/resourceSpecifier">
+
+ <name>MeetingFinder CPE</name>
+ <description>Deploys Meeting Finder Aggregate as an asynchronous collection processing engine.</description>
+
+ <deployment protocol="jms" provider="activemq">
+ <service>
+ <inputQueue endpoint="MeetingFinderQueue" brokerURL="tcp://localhost:61616"/>
+ <topDescriptor>
+ <import location="../descriptors/meetingFinder/MeetingFinderAggregate.xml"/>
+ </topDescriptor>
+ <analysisEngine>
+ <delegates>
+ <analysisEngine key="CollectionReader">
+ <casMultiplier poolSize="2"/>
+ </analysisEngine>
+ <analysisEngine key="TokenAndSentence">
+ <asyncAggregateErrorConfiguration>
+ <processCasErrors maxRetries="0" timeout="100000" continueOnRetryFailure="false" thresholdCount="100" thresholdWindow="9" thresholdAction="terminate"/>
+ </asyncAggregateErrorConfiguration>
+ </analysisEngine>
+ </delegates>
+ </analysisEngine>
+ </service>
+ </deployment>
+
+</analysisEngineDeploymentDescription>
Added: incubator/uima/uima-as/trunk/uima-as-distr/src/test/resources/deploy/expected/TestThresholdWindow.xml
URL: http://svn.apache.org/viewvc/incubator/uima/uima-as/trunk/uima-as-distr/src/test/resources/deploy/expected/TestThresholdWindow.xml?rev=804353&view=auto
==============================================================================
--- incubator/uima/uima-as/trunk/uima-as-distr/src/test/resources/deploy/expected/TestThresholdWindow.xml (added)
+++ incubator/uima/uima-as/trunk/uima-as-distr/src/test/resources/deploy/expected/TestThresholdWindow.xml Fri Aug 14 20:08:45 2009
@@ -0,0 +1,495 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--==================================================================================-->
+ <!-- Generated from -->
+ <!-- file:/C:/a/Eclipse/apache/uima-as-distr/src/test/resources/deploy/TestThresholdWindow.xml -->
+ <!-- 8 August, 2009, 8:33:37 A.M. -->
+ <!--==================================================================================-->
+ <!DOCTYPE beans
+ PUBLIC "-//Spring//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
+<beans>
+
+ <!-- Factory for specific external queue broker: -->
+ <!-- tcp://localhost:61616 -->
+ <bean id="qBroker_tcp_c__ss_localhost_c_61616"
+ class="org.apache.activemq.ActiveMQConnectionFactory">
+ <property name="brokerURL" value="tcp://localhost:61616"/>
+ <property name="prefetchPolicy" ref="prefetchPolicy"/>
+ </bean>
+
+ <!-- Factory for specific external queue broker: -->
+ <!-- tcp://localhost:61616 -->
+ <bean id="qBroker_tcp_c__ss_localhost_c_61616-reply"
+ class="org.apache.activemq.ActiveMQConnectionFactory">
+ <property name="brokerURL" value="tcp://localhost:61616"/>
+ <property name="prefetchPolicy" ref="prefetchPolicy-reply"/>
+ </bean>
+
+ <!-- Creates an instance of the ResourceManager -->
+ <bean id="resourceManager" class="org.apache.uima.aae.UimaClassFactory"
+ factory-method="produceResourceManager"
+ singleton="true"/>
+
+ <!-- Creates an instance of the CasManager -->
+ <bean id="casManager" class="org.apache.uima.aae.AsynchAECasManager_impl"
+ singleton="true">
+ <constructor-arg index="0" ref="resourceManager"/>
+
+ <!-- Defines how many CASes will be in the CAS pool -->
+ <property name="casPoolSize" value="1"/>
+
+ <!-- Initial heap size for CASes -->
+ <property name="initialFsHeapSize" value="2000000"/>
+ </bean>
+ <bean id="placeholderSubstitution"
+ class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
+ <property name="systemPropertiesModeName" value="SYSTEM_PROPERTIES_MODE_OVERRIDE"/>
+ </bean>
+
+ <!-- Creates a Shared Cache -->
+ <bean id="inProcessCache" class="org.apache.uima.aae.InProcessCache"/>
+
+ <!-- Create prefetch policy -->
+ <bean id="prefetchPolicy" class="org.apache.activemq.ActiveMQPrefetchPolicy">
+ <property name="queuePrefetch" value="0"/>
+ </bean>
+ <bean id="prefetchPolicy-reply" class="org.apache.activemq.ActiveMQPrefetchPolicy">
+ <property name="queuePrefetch" value="1"/>
+ </bean>
+
+ <!--=================================-->
+ <!-- E r r o r D e t a i l s -->
+ <!--=================================-->
+ <bean id="errorConfig__TCnt_0_TWndw_0_Action_"
+ class="org.apache.uima.aae.error.Threshold"
+ singleton="true">
+ <property name="threshold" value="0"/>
+ <property name="window" value="0"/>
+ <property name="action" value=""/>
+ </bean>
+
+ <bean id="errorConfig__Action_" class="org.apache.uima.aae.error.Threshold"
+ singleton="true">
+ <property name="action" value=""/>
+ </bean>
+
+ <bean id="errorConfig__Rtry_0_Action_terminate"
+ class="org.apache.uima.aae.error.Threshold"
+ singleton="true">
+ <property name="maxRetries" value="0"/>
+ <property name="action" value="terminate"/>
+ </bean>
+
+ <bean id="errorConfig__Rtry_0_Continue_false_TCnt_0_TWndw_0_Action_"
+ class="org.apache.uima.aae.error.Threshold"
+ singleton="true">
+ <property name="maxRetries" value="0"/>
+ <property name="continueOnRetryFailure" value="false"/>
+ <property name="threshold" value="0"/>
+ <property name="window" value="0"/>
+ <property name="action" value=""/>
+ </bean>
+
+ <bean id="errorConfig__Rtry_0_Continue_false_TCnt_100_TWndw_9_Action_terminate"
+ class="org.apache.uima.aae.error.Threshold"
+ singleton="true">
+ <property name="maxRetries" value="0"/>
+ <property name="continueOnRetryFailure" value="false"/>
+ <property name="threshold" value="100"/>
+ <property name="window" value="9"/>
+ <property name="action" value="terminate"/>
+ </bean>
+
+
+ <!--input queue for service-->
+ <bean id="top_level_input_queue_service_1"
+ class="org.apache.activemq.command.ActiveMQQueue">
+ <constructor-arg index="0" value="MeetingFinderQueue"/>
+ </bean>
+ <!--=======================================-->
+ <!-- Async Aggregate: MeetingFinderQueue_1 -->
+ <!--=======================================-->
+ <bean id="asAggr_ctlr_MeetingFinderQueue_1"
+ class="org.apache.uima.aae.controller.AggregateAnalysisEngineController_impl"
+ init-method="initialize">
+ <constructor-arg index="0">
+ <null/>
+ </constructor-arg>
+ <constructor-arg index="1" value="MeetingFinderQueue"/>
+ <constructor-arg index="2"
+ value="file:/C:/a/Eclipse/apache/uima-as-distr/src/test/resources/descriptors/meetingFinder/MeetingFinderAggregate.xml"/>
+ <constructor-arg index="3" ref="casManager"/>
+ <constructor-arg index="4" ref="inProcessCache"/>
+ <constructor-arg index="5" ref="delegate_map_MeetingFinderQueue_1"/>
+ <property name="outputChannel" ref="outChnl_MeetingFinderQueue_1"/>
+ <property name="serviceEndpointName" value="top_level_input_queue_service_1"/>
+ <property name="controllerBeanName" value="asAggr_ctlr_MeetingFinderQueue_1"/>
+ <property name="errorHandlerChain" ref="err_hdlr_chn_MeetingFinderQueue_1"/>
+ <property name="flowControllerDescriptor"
+ value="*importByName:org.apache.uima.flow.FixedFlowController"/>
+ </bean>
+
+ <!--===================================================-->
+ <!-- M E S S A G E H A N D L E R: aggregate_input -->
+ <!-- for controller: asAggr_ctlr_MeetingFinderQueue_1 -->
+ <!--===================================================-->
+
+ <bean id="aggregate_input_metaMsgHandler_MeetingFinderQueue_1"
+ class="org.apache.uima.aae.handler.input.MetadataRequestHandler_impl">
+ <constructor-arg index="0" value="MetadataRequestHandler"/>
+ <property name="controller" ref="asAggr_ctlr_MeetingFinderQueue_1"/>
+ <property name="delegate"
+ ref="aggregate_input_processRequestHandler_MeetingFinderQueue_1"/>
+ </bean>
+
+ <bean id="aggregate_input_processRequestHandler_MeetingFinderQueue_1"
+ class="org.apache.uima.aae.handler.input.ProcessRequestHandler_impl">
+ <constructor-arg index="0" value="ProcessRequestHandler"/>
+ <property name="controller" ref="asAggr_ctlr_MeetingFinderQueue_1"/>
+ </bean>
+
+ <!-- Create the endpoints + output channels, one per delegate -->
+
+
+ <!-- ==================================== -->
+ <!-- CollectionReader -->
+ <!-- ** Delegate Endpoint ** -->
+ <!-- ==================================== -->
+ <bean id="endpt_CollectionReader_1.1"
+ class="org.apache.uima.aae.controller.Endpoint_impl">
+
+ <!-- Broker URI -->
+ <property name="serverURI" value="vm://localhost"/>
+
+ <!-- Delegate key name or remote queue name -->
+ <property name="endpoint" value="inQ_CollectionReader_1.1"/>
+ <property name="processParentLast" value="false"/>
+
+ <!-- Timeouts -->
+ <property name="metadataRequestTimeout" value="60000"/>
+ <property name="processRequestTimeout" value="0"/>
+ <property name="collectionProcessCompleteTimeout" value="0"/>
+ <property name="concurrentRequestConsumers" value="1"/>
+ <property name="concurrentReplyConsumers" value="1"/>
+ </bean>
+
+ <!-- ==================================== -->
+ <!-- TokenAndSentence -->
+ <!-- ** Delegate Endpoint ** -->
+ <!-- ==================================== -->
+ <bean id="endpt_TokenAndSentence_1.2"
+ class="org.apache.uima.aae.controller.Endpoint_impl">
+
+ <!-- Broker URI -->
+ <property name="serverURI" value="vm://localhost"/>
+
+ <!-- Delegate key name or remote queue name -->
+ <property name="endpoint" value="inQ_TokenAndSentence_1.2"/>
+
+ <!-- Timeouts -->
+ <property name="metadataRequestTimeout" value="60000"/>
+ <property name="processRequestTimeout" value="100000"/>
+ <property name="collectionProcessCompleteTimeout" value="0"/>
+ <property name="concurrentRequestConsumers" value="1"/>
+ <property name="concurrentReplyConsumers" value="1"/>
+ </bean>
+
+ <!-- ==================================== -->
+ <!-- MeetingDetector -->
+ <!-- ** Delegate Endpoint ** -->
+ <!-- ==================================== -->
+ <bean id="endpt_MeetingDetector_1.3"
+ class="org.apache.uima.aae.controller.Endpoint_impl">
+
+ <!-- Broker URI -->
+ <property name="serverURI" value="vm://localhost"/>
+
+ <!-- Delegate key name or remote queue name -->
+ <property name="endpoint" value="inQ_MeetingDetector_1.3"/>
+
+ <!-- Timeouts -->
+ <property name="metadataRequestTimeout" value="60000"/>
+ <property name="processRequestTimeout" value="0"/>
+ <property name="collectionProcessCompleteTimeout" value="0"/>
+ <property name="concurrentRequestConsumers" value="1"/>
+ <property name="concurrentReplyConsumers" value="1"/>
+ </bean>
+
+ <!-- ==================================== -->
+ <!-- CasConsumer -->
+ <!-- ** Delegate Endpoint ** -->
+ <!-- ==================================== -->
+ <bean id="endpt_CasConsumer_1.4" class="org.apache.uima.aae.controller.Endpoint_impl">
+
+ <!-- Broker URI -->
+ <property name="serverURI" value="vm://localhost"/>
+
+ <!-- Delegate key name or remote queue name -->
+ <property name="endpoint" value="inQ_CasConsumer_1.4"/>
+
+ <!-- Timeouts -->
+ <property name="metadataRequestTimeout" value="60000"/>
+ <property name="processRequestTimeout" value="0"/>
+ <property name="collectionProcessCompleteTimeout" value="0"/>
+ <property name="concurrentRequestConsumers" value="1"/>
+ <property name="concurrentReplyConsumers" value="1"/>
+ </bean>
+
+ <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
+ <!-- JMS msg listener for input queue for: -->
+ <!-- top_level_input_queue_service_1 -->
+ <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
+ <bean id="asAggr_input_q_listenerID_MeetingFinderQueue_1"
+ class="org.apache.uima.adapter.jms.activemq.JmsInputChannel">
+ <property name="messageHandler" ref="aggregate_input_metaMsgHandler_MeetingFinderQueue_1"/>
+ <property name="endpointName" value="top_level_input_queue_service_1"/>
+ <property name="controller" ref="asAggr_ctlr_MeetingFinderQueue_1"/>
+ <property name="listenerContainer" ref="asAggr_input_msgLsnrCntnr_MeetingFinderQueue_1"/>
+ </bean>
+
+ <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
+ <!-- JMS msg listener container for input queue for: -->
+ <!-- top_level_input_queue_service_1 -->
+ <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
+ <bean id="asAggr_input_msgLsnrCntnr_MeetingFinderQueue_1"
+ class="org.apache.uima.adapter.jms.activemq.UimaDefaultMessageListenerContainer">
+
+ <!-- Define number of JMS Consumers -->
+ <property name="concurrentConsumers" value="1"/>
+
+ <!-- input Queue -->
+ <property name="destination" ref="top_level_input_queue_service_1"/>
+
+ <!-- POJO to delegate JMS Messages to -->
+ <property name="messageListener" ref="asAggr_input_q_listenerID_MeetingFinderQueue_1"/>
+ <property name="connectionFactory" ref="qBroker_tcp_c__ss_localhost_c_61616"/>
+ <property name="messageSelector" value="Command=2000 OR Command=2002"/>
+ </bean>
+
+ <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
+ <!-- GetMeta JMS msg listener container for input queue for: -->
+ <!-- top_level_input_queue_service_1 -->
+ <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
+ <bean id="asAggr_input_msgLsnrCntnr_MeetingFinderQueue_1_getMeta"
+ class="org.apache.uima.adapter.jms.activemq.UimaDefaultMessageListenerContainer">
+
+ <!-- Define number of JMS Consumers -->
+ <property name="concurrentConsumers" value="1"/>
+
+ <!-- input Queue -->
+ <property name="destination" ref="top_level_input_queue_service_1"/>
+
+ <!-- POJO to delegate JMS Messages to -->
+ <property name="messageListener" ref="asAggr_input_q_listenerID_MeetingFinderQueue_1"/>
+ <property name="connectionFactory" ref="qBroker_tcp_c__ss_localhost_c_61616"/>
+ <property name="messageSelector" value="Command=2001"/>
+ </bean>
+
+ <!-- ================================== -->
+ <!-- OutputChannel - for flows out of -->
+ <!-- this component, both to delegates -->
+ <!-- (if aggr) and back up to sender -->
+ <!-- ================================== -->
+ <bean id="outChnl_MeetingFinderQueue_1"
+ class="org.apache.uima.adapter.jms.activemq.JmsOutputChannel"
+ init-method="initialize">
+ <property name="serviceInputEndpoint" value="MeetingFinderQueue"/>
+ <property name="controller" ref="asAggr_ctlr_MeetingFinderQueue_1"/>
+ <property name="controllerInputEndpoint" value="asynAggr_retQ_MeetingFinderQueue_1"/>
+ </bean>
+
+ <!-- map for delegate keys -->
+ <bean id="delegate_map_MeetingFinderQueue_1" class="java.util.HashMap"
+ singleton="true">
+ <constructor-arg>
+ <map>
+ <entry key="CollectionReader">
+ <ref bean="endpt_CollectionReader_1.1"/>
+ </entry>
+ <entry key="TokenAndSentence">
+ <ref bean="endpt_TokenAndSentence_1.2"/>
+ </entry>
+ <entry key="MeetingDetector">
+ <ref bean="endpt_MeetingDetector_1.3"/>
+ </entry>
+ <entry key="CasConsumer">
+ <ref bean="endpt_CasConsumer_1.4"/>
+ </entry>
+ </map>
+ </constructor-arg>
+ </bean>
+
+
+ <!--========================-->
+ <!-- Delegate ErrorHandlers -->
+ <!--========================-->
+ <bean id="err_hndlr_getMetadataEr_1"
+ class="org.apache.uima.aae.error.handler.GetMetaErrorHandler">
+ <constructor-arg>
+ <map>
+ <entry key="CollectionReader">
+ <ref bean="errorConfig__Rtry_0_Action_terminate"/>
+ </entry>
+ <entry key="TokenAndSentence">
+ <ref bean="errorConfig__Rtry_0_Action_terminate"/>
+ </entry>
+ <entry key="MeetingDetector">
+ <ref bean="errorConfig__Rtry_0_Action_terminate"/>
+ </entry>
+ <entry key="CasConsumer">
+ <ref bean="errorConfig__Rtry_0_Action_terminate"/>
+ </entry>
+ </map>
+ </constructor-arg>
+ </bean>
+
+ <bean id="err_hndlr_processCasEr_1"
+ class="org.apache.uima.aae.error.handler.ProcessCasErrorHandler">
+ <constructor-arg>
+ <map>
+ <entry key="CollectionReader">
+ <ref bean="errorConfig__Rtry_0_Continue_false_TCnt_0_TWndw_0_Action_"/>
+ </entry>
+ <entry key="TokenAndSentence">
+ <ref bean="errorConfig__Rtry_0_Continue_false_TCnt_100_TWndw_9_Action_terminate"/>
+ </entry>
+ <entry key="MeetingDetector">
+ <ref bean="errorConfig__Rtry_0_Continue_false_TCnt_0_TWndw_0_Action_"/>
+ </entry>
+ <entry key="CasConsumer">
+ <ref bean="errorConfig__Rtry_0_Continue_false_TCnt_0_TWndw_0_Action_"/>
+ </entry>
+ <entry key="">
+ <ref bean="errorConfig__TCnt_0_TWndw_0_Action_"/>
+ </entry>
+ </map>
+ </constructor-arg>
+ </bean>
+
+ <bean id="err_hndlr_collectionProcessCompleteEr_1"
+ class="org.apache.uima.aae.error.handler.CpcErrorHandler">
+ <constructor-arg>
+ <map>
+ <entry key="CollectionReader">
+ <ref bean="errorConfig__Action_"/>
+ </entry>
+ <entry key="TokenAndSentence">
+ <ref bean="errorConfig__Action_"/>
+ </entry>
+ <entry key="MeetingDetector">
+ <ref bean="errorConfig__Action_"/>
+ </entry>
+ <entry key="CasConsumer">
+ <ref bean="errorConfig__Action_"/>
+ </entry>
+ <entry key="">
+ <ref bean="errorConfig__Action_"/>
+ </entry>
+ </map>
+ </constructor-arg>
+ </bean>
+
+
+ <!--=======================-->
+ <!-- Error Handler Chain -->
+ <!--=======================-->
+ <bean id="err_hdlr_chn_MeetingFinderQueue_1"
+ class="org.apache.uima.aae.error.ErrorHandlerChain">
+ <constructor-arg>
+ <list>
+ <ref local="err_hndlr_getMetadataEr_1"/>
+ <ref local="err_hndlr_processCasEr_1"/>
+ <ref local="err_hndlr_collectionProcessCompleteEr_1"/>
+ </list>
+ </constructor-arg>
+ </bean>
+ <!--===============================================-->
+ <!-- Primitive or non-Async Aggr: CollectionReader -->
+ <!--===============================================-->
+ <bean id="primitive_ctlr_CollectionReader_1.1"
+ class="org.apache.uima.aae.controller.PrimitiveAnalysisEngineController_impl"
+ init-method="initialize">
+ <constructor-arg index="0" ref="asAggr_ctlr_MeetingFinderQueue_1"/>
+
+ <!-- Key name -->
+ <constructor-arg index="1" value="CollectionReader"/>
+ <constructor-arg index="2"
+ value="file:/C:/a/Eclipse/apache/uima-as-distr/src/test/resources/descriptors/meetingFinder/FileSystemCollectionReader.xml"/>
+ <constructor-arg index="3" ref="casManager"/>
+ <constructor-arg index="4" ref="inProcessCache"/>
+
+ <!-- this parameter is ignored -->
+ <constructor-arg index="5" value="10"/>
+
+ <!-- scaleout number of instances -->
+ <constructor-arg index="6" value="1"/>
+
+ <!-- CAS Multiplier poolSize -->
+ <constructor-arg index="7" value="2"/>
+
+ <!-- CAS Multiplier initial heap size -->
+ <constructor-arg index="8" value="2000000"/>
+ </bean>
+ <!--===============================================-->
+ <!-- Primitive or non-Async Aggr: TokenAndSentence -->
+ <!--===============================================-->
+ <bean id="primitive_ctlr_TokenAndSentence_1.2"
+ class="org.apache.uima.aae.controller.PrimitiveAnalysisEngineController_impl"
+ init-method="initialize">
+ <constructor-arg index="0" ref="asAggr_ctlr_MeetingFinderQueue_1"/>
+
+ <!-- Key name -->
+ <constructor-arg index="1" value="TokenAndSentence"/>
+ <constructor-arg index="2"
+ value="file:/C:/a/Eclipse/apache/uima-as-distr/src/test/resources/descriptors/meetingFinder/SimpleTokenAndSentenceAnnotator.xml"/>
+ <constructor-arg index="3" ref="casManager"/>
+ <constructor-arg index="4" ref="inProcessCache"/>
+
+ <!-- this parameter is ignored -->
+ <constructor-arg index="5" value="10"/>
+
+ <!-- scaleout number of instances -->
+ <constructor-arg index="6" value="1"/>
+ </bean>
+ <!--==============================================-->
+ <!-- Primitive or non-Async Aggr: MeetingDetector -->
+ <!--==============================================-->
+ <bean id="primitive_ctlr_MeetingDetector_1.3"
+ class="org.apache.uima.aae.controller.PrimitiveAnalysisEngineController_impl"
+ init-method="initialize">
+ <constructor-arg index="0" ref="asAggr_ctlr_MeetingFinderQueue_1"/>
+
+ <!-- Key name -->
+ <constructor-arg index="1" value="MeetingDetector"/>
+ <constructor-arg index="2"
+ value="file:/C:/a/Eclipse/apache/uima-as-distr/src/test/resources/descriptors/meetingFinder/MeetingDetectorTAE.xml"/>
+ <constructor-arg index="3" ref="casManager"/>
+ <constructor-arg index="4" ref="inProcessCache"/>
+
+ <!-- this parameter is ignored -->
+ <constructor-arg index="5" value="10"/>
+
+ <!-- scaleout number of instances -->
+ <constructor-arg index="6" value="1"/>
+ </bean>
+ <!--==========================================-->
+ <!-- Primitive or non-Async Aggr: CasConsumer -->
+ <!--==========================================-->
+ <bean id="primitive_ctlr_CasConsumer_1.4"
+ class="org.apache.uima.aae.controller.PrimitiveAnalysisEngineController_impl"
+ init-method="initialize">
+ <constructor-arg index="0" ref="asAggr_ctlr_MeetingFinderQueue_1"/>
+
+ <!-- Key name -->
+ <constructor-arg index="1" value="CasConsumer"/>
+ <constructor-arg index="2"
+ value="file:/C:/a/Eclipse/apache/uima-as-distr/src/test/resources/descriptors/meetingFinder/XmiWriterCasConsumer.xml"/>
+ <constructor-arg index="3" ref="casManager"/>
+ <constructor-arg index="4" ref="inProcessCache"/>
+
+ <!-- this parameter is ignored -->
+ <constructor-arg index="5" value="10"/>
+
+ <!-- scaleout number of instances -->
+ <constructor-arg index="6" value="1"/>
+ </bean>
+</beans>
\ No newline at end of file