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 2008/08/25 23:00:15 UTC

svn commit: r688880 [3/3] - in /incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src: main/scripts/ test/java/org/apache/uima/as/dd/ test/resources/deploy/ test/resources/deploy/expected/ test/resources/deploy/expected/envVar/ test/resources/descript...

Added: incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/test/resources/deploy/expected/iq3.xml
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/test/resources/deploy/expected/iq3.xml?rev=688880&view=auto
==============================================================================
--- incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/test/resources/deploy/expected/iq3.xml (added)
+++ incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/test/resources/deploy/expected/iq3.xml Mon Aug 25 14:00:14 2008
@@ -0,0 +1,598 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--===========================================================================-->
+ <!-- Generated from                                                            -->
+ <!-- file:/C:/a/Eclipse/apache/uima-as-distr/src/test/resources/deploy/iq3.xml -->
+ <!-- 25 August, 2008, 3:10:15 P.M.                                             -->
+ <!--===========================================================================-->
+ <!DOCTYPE beans
+  PUBLIC "-//Spring//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
+<beans>
+
+   <!-- connection factory for co-located things -->
+   <bean id="controllerJmsFactory" class="org.apache.activemq.ActiveMQConnectionFactory"
+         depends-on="brokerDeployerService">
+      <property name="brokerURL" value="vm://localhost"/>
+      <property name="prefetchPolicy" ref="prefetchPolicy"/>
+   </bean>
+
+   <!-- Deploys a co-located broker  -->
+   <bean id="brokerDeployerService"
+         class="org.apache.uima.adapter.jms.activemq.BrokerDeployer">
+      <constructor-arg index="0" value="1048576000"/>
+   </bean>
+
+   <!-- 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://some.remote:12345            -->
+   <bean id="qBroker_tcp_c__ss_some.remote_c_12345"
+         class="org.apache.activemq.ActiveMQConnectionFactory">
+      <property name="brokerURL" value="tcp://some.remote:12345"/>
+      <property name="prefetchPolicy" ref="prefetchPolicy"/>
+   </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="5"/>
+
+     <!-- Initial heap size for CASes  -->
+     <property name="initialFsHeapSize" value="2000000"/>
+   </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>
+ 
+   <!--=================================-->
+   <!--    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>
+
+ 
+   <!--input queue for service-->
+   <bean id="top_level_input_queue_service_1"
+         class="org.apache.activemq.command.ActiveMQQueue">
+      <constructor-arg index="0" value="MeetingDetectorTaeQueue"/>
+   </bean>
+ 
+   <!--====================================================-->
+   <!-- Second Input Q needed for top-level CAS Multiplers -->
+   <!-- Used to have the client signal completion          -->
+   <!-- of the processing of a CAS                         -->
+   <!-- generated by the Cas Multiplier                    -->
+   <!--====================================================-->
+   <bean id="top_level_input_queue_service_1__CasSync"
+         class="org.apache.activemq.command.ActiveMQQueue">
+      <constructor-arg index="0" value="MeetingDetectorTaeQueue__CasSync"/>
+   </bean>
+   <!--============================================-->
+   <!-- Async Aggregate: MeetingDetectorTaeQueue_1 -->
+   <!--============================================-->
+   <bean id="asAggr_ctlr_MeetingDetectorTaeQueue_1"
+         class="org.apache.uima.aae.controller.AggregateAnalysisEngineController_impl"
+         init-method="initialize">
+      <constructor-arg index="0">
+         <null/>
+      </constructor-arg>
+      <constructor-arg index="1" value="MeetingDetectorTaeQueue"/>
+      <constructor-arg index="2"
+                       value="file:/C:/a/Eclipse/apache/uima-as-distr/src/test/resources/descriptors/cas_multiplier/SegmenterAndTokenizerAE.xml"/>
+      <constructor-arg index="3" ref="casManager"/>
+      <constructor-arg index="4" ref="inProcessCache"/>
+      <constructor-arg index="5" ref="delegate_map_MeetingDetectorTaeQueue_1"/>
+      <property name="outputChannel" ref="outChnl_MeetingDetectorTaeQueue_1"/>
+      <property name="serviceEndpointName" value="top_level_input_queue_service_1"/>
+      <property name="controllerBeanName" value="asAggr_ctlr_MeetingDetectorTaeQueue_1"/>
+      <property name="errorHandlerChain" ref="err_hdlr_chn_MeetingDetectorTaeQueue_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_MeetingDetectorTaeQueue_1 -->
+   <!--========================================================-->
+   
+   <bean id="aggregate_input_metaMsgHandler_MeetingDetectorTaeQueue_1"
+         class="org.apache.uima.aae.handler.input.MetadataRequestHandler_impl">
+      <constructor-arg index="0" value="MetadataRequestHandler"/>
+      <property name="controller" ref="asAggr_ctlr_MeetingDetectorTaeQueue_1"/>
+      <property name="delegate"
+                ref="aggregate_input_processRequestHandler_MeetingDetectorTaeQueue_1"/>
+   </bean>
+
+   <bean id="aggregate_input_processRequestHandler_MeetingDetectorTaeQueue_1"
+         class="org.apache.uima.aae.handler.input.ProcessRequestHandler_impl">
+      <constructor-arg index="0" value="ProcessRequestHandler"/>
+      <property name="controller" ref="asAggr_ctlr_MeetingDetectorTaeQueue_1"/>
+   </bean>
+ 
+   <!--========================================================-->
+   <!--   M E S S A G E    H A N D L E R: aggregate_return     -->
+   <!--  for controller: asAggr_ctlr_MeetingDetectorTaeQueue_1 -->
+   <!--========================================================-->
+   
+   <bean id="aggregate_return_metaMsgHandler_MeetingDetectorTaeQueue_1"
+         class="org.apache.uima.aae.handler.input.MetadataRequestHandler_impl">
+      <constructor-arg index="0" value="MetadataRequestHandler"/>
+      <property name="controller" ref="asAggr_ctlr_MeetingDetectorTaeQueue_1"/>
+      <property name="delegate"
+                ref="aggregate_return_processRequestHandler_MeetingDetectorTaeQueue_1"/>
+   </bean>
+
+   <bean id="aggregate_return_processRequestHandler_MeetingDetectorTaeQueue_1"
+         class="org.apache.uima.aae.handler.input.ProcessRequestHandler_impl">
+      <constructor-arg index="0" value="ProcessRequestHandler"/>
+      <property name="controller" ref="asAggr_ctlr_MeetingDetectorTaeQueue_1"/>
+      <property name="delegate"
+                ref="aggregate_return_processResponseHandler_MeetingDetectorTaeQueue_1"/>
+   </bean>
+
+   <bean id="aggregate_return_processResponseHandler_MeetingDetectorTaeQueue_1"
+         class="org.apache.uima.aae.handler.input.ProcessResponseHandler">
+      <constructor-arg index="0" value="ProcessResponseHandler"/>
+      <property name="controller" ref="asAggr_ctlr_MeetingDetectorTaeQueue_1"/>
+      <property name="delegate"
+                ref="aggregate_return_response_metaMsgHandler_MeetingDetectorTaeQueue_1"/>
+   </bean>
+
+   <bean id="aggregate_return_response_metaMsgHandler_MeetingDetectorTaeQueue_1"
+         class="org.apache.uima.aae.handler.input.MetadataResponseHandler_impl">
+      <constructor-arg index="0" value="MetadataResponseHandler"/>
+      <property name="controller" ref="asAggr_ctlr_MeetingDetectorTaeQueue_1"/>
+   </bean>
+
+   <!-- Create the endpoints + output channels, one per delegate -->
+   
+
+   <!-- ==================================== -->
+   <!--              Segmenter               -->
+   <!--        ** Delegate Endpoint **       -->
+   <!-- ==================================== -->
+   <bean id="endpt_Segmenter_1.1" class="org.apache.uima.aae.controller.Endpoint_impl">
+
+     <!--     Broker URI     -->
+     <property name="serverURI" value="tcp://some.remote:12345"/>
+
+     <!-- Delegate key name or remote queue name -->
+     <property name="endpoint" value="iq3rmt"/>
+
+     <!-- Queue name used for replies, on the remote broker  -->
+     <property name="replyToEndpoint"
+                value="rmtRtrnQ_MeetingDetectorTaeQueue_1_Segmenter_9.2.34.653840ec21:11bfb4609b0:-8000"/>
+      <property name="shadowCasPoolSize" value="7"/>
+      <property name="initialFsHeapSize" value="999"/>
+
+     <!--      Timeouts      -->
+     <property name="metadataRequestTimeout" value="60000"/>
+      <property name="processRequestTimeout" value="0"/>
+      <property name="collectionProcessCompleteTimeout" value="0"/>
+      <property name="serializer" value=""/>
+      <property name="tempReplyDestination" value="true"/>
+   </bean>
+
+   <!-- ==================================== -->
+   <!--              Tokenizer               -->
+   <!--        ** Delegate Endpoint **       -->
+   <!-- ==================================== -->
+   <bean id="endpt_Tokenizer_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_Tokenizer_1.2"/>
+
+     <!--      Timeouts      -->
+     <property name="metadataRequestTimeout" value="60000"/>
+      <property name="processRequestTimeout" value="0"/>
+      <property name="collectionProcessCompleteTimeout" value="0"/>
+      <property name="tempReplyDestination" value="true"/>
+   </bean>
+
+   <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
+   <!-- JMS msg listener for input queue for:  -->
+   <!--    top_level_input_queue_service_1     -->
+   <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
+   <bean id="asAggr_input_q_listenerID_MeetingDetectorTaeQueue_1"
+         class="org.apache.uima.adapter.jms.activemq.JmsInputChannel">
+      <property name="messageHandler"
+                ref="aggregate_input_metaMsgHandler_MeetingDetectorTaeQueue_1"/>
+      <property name="endpointName" value="top_level_input_queue_service_1"/>
+      <property name="controller" ref="asAggr_ctlr_MeetingDetectorTaeQueue_1"/>
+      <property name="listenerContainer"
+                ref="asAggr_input_msgLsnrCntnr_MeetingDetectorTaeQueue_1"/>
+   </bean>
+
+   <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
+   <!-- JMS msg listener container for input queue for:  -->
+   <!--         top_level_input_queue_service_1          -->
+   <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
+   <bean id="asAggr_input_msgLsnrCntnr_MeetingDetectorTaeQueue_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_MeetingDetectorTaeQueue_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_MeetingDetectorTaeQueue_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_MeetingDetectorTaeQueue_1"/>
+      <property name="connectionFactory" ref="qBroker_tcp_c__ss_localhost_c_61616"/>
+      <property name="messageSelector" value="Command=2001"/>
+   </bean>
+
+   <!-- return queue for async aggregate -->
+   <bean id="asynAggr_retQ_MeetingDetectorTaeQueue_1"
+         class="org.apache.activemq.command.ActiveMQQueue">
+      <constructor-arg index="0" value="asynAggr_retQ_MeetingDetectorTaeQueue_1"/>
+   </bean>
+
+   <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
+   <!--  JMS msg listener for return queue for:  -->
+   <!-- asynAggr_retQ_MeetingDetectorTaeQueue_1  -->
+   <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
+   <bean id="asAggr_return_q_listenerID_MeetingDetectorTaeQueue_1"
+         class="org.apache.uima.adapter.jms.activemq.JmsInputChannel">
+      <property name="messageHandler"
+                ref="aggregate_return_metaMsgHandler_MeetingDetectorTaeQueue_1"/>
+      <property name="endpointName" value="asynAggr_retQ_MeetingDetectorTaeQueue_1"/>
+      <property name="controller" ref="asAggr_ctlr_MeetingDetectorTaeQueue_1"/>
+   </bean>
+
+   <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+   <!-- JMS msg listener container for return queue for: -->
+   <!--     asynAggr_retQ_MeetingDetectorTaeQueue_1      -->
+   <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+   <bean id="asAggr_return_msgLsnrCntnr_MeetingDetectorTaeQueue_1"
+         class="org.apache.uima.adapter.jms.activemq.UimaDefaultMessageListenerContainer">
+
+     <!-- Define number of JMS Consumers -->
+     <property name="concurrentConsumers" value="1"/>
+
+     <!--    return Queue    -->
+     <property name="destination" ref="asynAggr_retQ_MeetingDetectorTaeQueue_1"/>
+
+     <!-- POJO to delegate JMS Messages to -->
+     <property name="messageListener"
+                ref="asAggr_return_q_listenerID_MeetingDetectorTaeQueue_1"/>
+      <property name="connectionFactory" ref="controllerJmsFactory"/>
+   </bean>
+
+   <!-- return queue for http or tcp remote service  -->
+   <!--               on remote broker               -->
+   <bean id="rmtRtrnQ_MeetingDetectorTaeQueue_1_Segmenter"
+         class="org.apache.activemq.command.ActiveMQQueue">
+      <constructor-arg index="0"
+                       value="rmtRtrnQ_MeetingDetectorTaeQueue_1_Segmenter_9.2.34.653840ec21:11bfb4609b0:-8000"/>
+   </bean>
+
+   <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+   <!--    JMS msg listener for return queue for:    -->
+   <!-- rmtRtrnQ_MeetingDetectorTaeQueue_1_Segmenter -->
+   <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+   <bean id="asAggr_return_q_listenerID_MeetingDetectorTaeQueue_1_Segmenter"
+         class="org.apache.uima.adapter.jms.activemq.JmsInputChannel">
+      <property name="messageHandler"
+                ref="aggregate_return_metaMsgHandler_MeetingDetectorTaeQueue_1"/>
+      <property name="endpointName" value=""/>
+      <property name="controller" ref="asAggr_ctlr_MeetingDetectorTaeQueue_1"/>
+   </bean>
+
+   <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+   <!-- JMS msg listener container for return queue for: -->
+   <!--   rmtRtrnQ_MeetingDetectorTaeQueue_1_Segmenter   -->
+   <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+   <bean id="asAggr_return_msgLsnrCntnr_MeetingDetectorTaeQueue_1_Segmenter"
+         class="org.apache.uima.adapter.jms.activemq.UimaDefaultMessageListenerContainer">
+
+     <!-- Define number of JMS Consumers -->
+     <property name="concurrentConsumers" value="35"/>
+
+     <!--    return Queue    -->
+     <property name="destinationResolver"
+                ref="destinationResolver_MeetingDetectorTaeQueue_1_Segmenter"/>
+      <property name="destinationName" value=""/>
+      <property name="targetEndpoint" ref="endpt_Segmenter_1.1"/>
+
+     <!-- POJO to delegate JMS Messages to -->
+     <property name="messageListener"
+                ref="asAggr_return_q_listenerID_MeetingDetectorTaeQueue_1_Segmenter"/>
+      <property name="connectionFactory" ref="qBroker_tcp_c__ss_some.remote_c_12345"/>
+   </bean>
+
+   <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+   <!--      Destination Resolver for Segmenter      -->
+   <!-- rmtRtrnQ_MeetingDetectorTaeQueue_1_Segmenter -->
+   <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+   <bean id="destinationResolver_MeetingDetectorTaeQueue_1_Segmenter"
+         class="org.apache.uima.adapter.jms.activemq.TempDestinationResolver"
+         singleton="false">
+      <property name="connectionFactory" ref="qBroker_tcp_c__ss_some.remote_c_12345"/>
+   </bean>
+
+   <!-- ================================== -->
+   <!-- OutputChannel - for flows out of   -->
+   <!-- this component, both to delegates  -->
+   <!--  (if aggr) and back up to sender   -->
+   <!-- ================================== -->
+   <bean id="outChnl_MeetingDetectorTaeQueue_1"
+         class="org.apache.uima.adapter.jms.activemq.JmsOutputChannel"
+         init-method="initialize">
+      <property name="serviceInputEndpoint" value="MeetingDetectorTaeQueue"/>
+      <property name="controller" ref="asAggr_ctlr_MeetingDetectorTaeQueue_1"/>
+      <property name="controllerInputEndpoint" value="asynAggr_retQ_MeetingDetectorTaeQueue_1"/>
+   </bean>
+
+   <!-- map for delegate keys  -->
+   <bean id="delegate_map_MeetingDetectorTaeQueue_1" class="java.util.HashMap"
+         singleton="true">
+      <constructor-arg>
+         <map>
+            <entry key="Segmenter">
+               <ref bean="endpt_Segmenter_1.1"/>
+            </entry>
+            <entry key="Tokenizer">
+               <ref bean="endpt_Tokenizer_1.2"/>
+            </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="Segmenter">
+               <ref bean="errorConfig__Rtry_0_Action_terminate"/>
+            </entry>
+            <entry key="Tokenizer">
+               <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="Segmenter">
+               <ref bean="errorConfig__Rtry_0_Continue_false_TCnt_0_TWndw_0_Action_"/>
+            </entry>
+            <entry key="Tokenizer">
+               <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="Segmenter">
+               <ref bean="errorConfig__Action_"/>
+            </entry>
+            <entry key="Tokenizer">
+               <ref bean="errorConfig__Action_"/>
+            </entry>
+            <entry key="">
+               <ref bean="errorConfig__Action_"/>
+            </entry>
+         </map>
+      </constructor-arg>
+   </bean>
+
+ 
+   <!--=======================-->
+   <!--  Error Handler Chain  -->
+   <!--=======================-->
+   <bean id="err_hdlr_chn_MeetingDetectorTaeQueue_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>
+
+   <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
+   <!--   Internal Input Queue for   -->
+   <!--          Tokenizer           -->
+   <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
+   <bean id="inQ_Tokenizer_1.2" class="org.apache.activemq.command.ActiveMQQueue">
+      <constructor-arg index="0" value="inQ_Tokenizer_1.2"/>
+   </bean>
+   <!--========================================-->
+   <!-- Primitive or non-Async Aggr: Tokenizer -->
+   <!--========================================-->
+   <bean id="primitive_ctlr_Tokenizer_1.2"
+         class="org.apache.uima.aae.controller.PrimitiveAnalysisEngineController_impl"
+         init-method="initialize">
+      <constructor-arg index="0" ref="asAggr_ctlr_MeetingDetectorTaeQueue_1"/>
+
+     <!--      Key name      -->
+     <constructor-arg index="1" value="Tokenizer"/>
+      <constructor-arg index="2"
+                       value="file:/C:/a/Eclipse/apache/uima-as-distr/src/test/resources/descriptors/cas_multiplier/../analysis_engine/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"/>
+      <property name="outputChannel" ref="outChnl_Tokenizer_1.2"/>
+   </bean>
+
+   <!-- ThreadPool Task Executor -->
+   <bean id="pooling_Tokenizer_1.2"
+         class="org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor">
+      <property name="corePoolSize" value="1"/>
+      <property name="maxPoolSize" value="1"/>
+      <property name="queueCapacity" value="1"/>
+   </bean>
+ 
+   <!--===============================================-->
+   <!--   M E S S A G E    H A N D L E R: primitive   -->
+   <!--  for controller: primitive_ctlr_Tokenizer_1.2 -->
+   <!--===============================================-->
+   
+   <bean id="primitive_metaMsgHandler_Tokenizer_1.2"
+         class="org.apache.uima.aae.handler.input.MetadataRequestHandler_impl">
+      <constructor-arg index="0" value="MetadataRequestHandler"/>
+      <property name="controller" ref="primitive_ctlr_Tokenizer_1.2"/>
+      <property name="delegate" ref="primitive_processRequestHandler_Tokenizer_1.2"/>
+   </bean>
+
+   <bean id="primitive_processRequestHandler_Tokenizer_1.2"
+         class="org.apache.uima.aae.handler.input.ProcessRequestHandler_impl">
+      <constructor-arg index="0" value="ProcessRequestHandler"/>
+      <property name="controller" ref="primitive_ctlr_Tokenizer_1.2"/>
+   </bean>
+
+   <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
+   <!-- JMS msg listener for input queue for:  -->
+   <!--           inQ_Tokenizer_1.2            -->
+   <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
+   <bean id="primitive_input_q_listenerID_Tokenizer_1.2"
+         class="org.apache.uima.adapter.jms.activemq.JmsInputChannel">
+      <property name="messageHandler" ref="primitive_metaMsgHandler_Tokenizer_1.2"/>
+      <property name="endpointName" value="inQ_Tokenizer_1.2"/>
+      <property name="controller" ref="primitive_ctlr_Tokenizer_1.2"/>
+      <property name="listenerContainer" ref="primitive_input_msgLsnrCntnr_Tokenizer_1.2"/>
+   </bean>
+
+   <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
+   <!-- JMS msg listener container for input queue for:  -->
+   <!--                inQ_Tokenizer_1.2                 -->
+   <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
+   <bean id="primitive_input_msgLsnrCntnr_Tokenizer_1.2"
+         class="org.apache.uima.adapter.jms.activemq.UimaDefaultMessageListenerContainer">
+
+     <!-- Connect to pooling task executor for primitive -->
+     <property name="taskExecutor" ref="pooling_Tokenizer_1.2"/>
+
+     <!-- Define number of JMS Consumers -->
+     <property name="concurrentConsumers" value="1"/>
+
+     <!--    input Queue     -->
+     <property name="destination" ref="inQ_Tokenizer_1.2"/>
+
+     <!-- POJO to delegate JMS Messages to -->
+     <property name="messageListener" ref="primitive_input_q_listenerID_Tokenizer_1.2"/>
+      <property name="connectionFactory" ref="controllerJmsFactory"/>
+      <property name="messageSelector" value="Command=2000 OR Command=2002"/>
+   </bean>
+
+   <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
+   <!-- GetMeta JMS msg listener container for input queue for:  -->
+   <!--                    inQ_Tokenizer_1.2                     -->
+   <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
+   <bean id="primitive_input_msgLsnrCntnr_Tokenizer_1.2_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="inQ_Tokenizer_1.2"/>
+
+     <!-- POJO to delegate JMS Messages to -->
+     <property name="messageListener" ref="primitive_input_q_listenerID_Tokenizer_1.2"/>
+      <property name="connectionFactory" ref="controllerJmsFactory"/>
+      <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_Tokenizer_1.2"
+         class="org.apache.uima.adapter.jms.activemq.JmsOutputChannel"
+         init-method="initialize">
+      <property name="serviceInputEndpoint" value="inQ_Tokenizer_1.2"/>
+      <property name="controller" ref="primitive_ctlr_Tokenizer_1.2"/>
+   </bean>
+</beans>
\ No newline at end of file

Modified: incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/test/resources/deploy/expected/tempQ1.xml
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/test/resources/deploy/expected/tempQ1.xml?rev=688880&r1=688879&r2=688880&view=diff
==============================================================================
--- incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/test/resources/deploy/expected/tempQ1.xml (original)
+++ incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/test/resources/deploy/expected/tempQ1.xml Mon Aug 25 14:00:14 2008
@@ -51,7 +51,7 @@
 
    <!-- Create prefetch policy -->
    <bean id="prefetchPolicy" class="org.apache.activemq.ActiveMQPrefetchPolicy">
-      <property name="queuePrefetch" value="1"/>
+      <property name="queuePrefetch" value="0"/>
    </bean>
  
    <!--=================================-->
@@ -185,6 +185,10 @@
      <!-- Delegate key name or remote queue name -->
      <property name="endpoint" value="RoomNumber"/>
 
+     <!-- Queue name used for replies, on the remote broker  -->
+     <property name="replyToEndpoint"
+                value="rmtRtrnQ_RoomNumberAnnotatorQueue_1_RoomNumber_9.2.34.65754d945a:11bfaf7fad7:-7fff"/>
+
      <!--      Timeouts      -->
      <property name="metadataRequestTimeout" value="60000"/>
       <property name="processRequestTimeout" value="0"/>
@@ -209,6 +213,7 @@
      <property name="metadataRequestTimeout" value="60000"/>
       <property name="processRequestTimeout" value="0"/>
       <property name="collectionProcessCompleteTimeout" value="0"/>
+      <property name="tempReplyDestination" value="true"/>
    </bean>
 
    <!-- ==================================== -->
@@ -227,6 +232,7 @@
      <property name="metadataRequestTimeout" value="60000"/>
       <property name="processRequestTimeout" value="0"/>
       <property name="collectionProcessCompleteTimeout" value="0"/>
+      <property name="tempReplyDestination" value="true"/>
    </bean>
 
    <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
@@ -320,6 +326,14 @@
       <property name="connectionFactory" ref="controllerJmsFactory"/>
    </bean>
 
+   <!-- return queue for http or tcp remote service  -->
+   <!--               on remote broker               -->
+   <bean id="rmtRtrnQ_RoomNumberAnnotatorQueue_1_RoomNumber"
+         class="org.apache.activemq.command.ActiveMQQueue">
+      <constructor-arg index="0"
+                       value="rmtRtrnQ_RoomNumberAnnotatorQueue_1_RoomNumber_9.2.34.65754d945a:11bfaf7fad7:-7fff"/>
+   </bean>
+
    <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
    <!--     JMS msg listener for return queue for:     -->
    <!-- rmtRtrnQ_RoomNumberAnnotatorQueue_1_RoomNumber -->

Added: incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/test/resources/deploy/iq1AE.xml
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/test/resources/deploy/iq1AE.xml?rev=688880&view=auto
==============================================================================
--- incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/test/resources/deploy/iq1AE.xml (added)
+++ incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/test/resources/deploy/iq1AE.xml Mon Aug 25 14:00:14 2008
@@ -0,0 +1,38 @@
+<?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>Meeting Detector TAE</name>
+  <deployment protocol="jms" provider="activemq">
+    <casPool numberOfCASes="5"/>
+    
+      <service>
+        <inputQueue endpoint="RoomNumberAnnotatorQueue"
+          brokerURL="tcp://localhost:61616"/>
+        <topDescriptor>
+          <import
+            location="../descriptors/tutorial/ex2/RoomNumberAnnotator.xml"/>
+        </topDescriptor>
+        <analysisEngine inputQueueScaleout="32"/>
+      </service>
+  </deployment>
+</analysisEngineDeploymentDescription>
\ No newline at end of file

Added: incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/test/resources/deploy/iq2AE.xml
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/test/resources/deploy/iq2AE.xml?rev=688880&view=auto
==============================================================================
--- incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/test/resources/deploy/iq2AE.xml (added)
+++ incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/test/resources/deploy/iq2AE.xml Mon Aug 25 14:00:14 2008
@@ -0,0 +1,39 @@
+<?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>Meeting Detector TAE</name>
+  <deployment protocol="jms" provider="activemq">
+    <casPool numberOfCASes="5"/>
+    
+      <service>
+        <inputQueue endpoint="RoomNumberAnnotatorQueue"
+          brokerURL="tcp://localhost:61616"/>
+        <topDescriptor>
+          <import
+            location="../descriptors/tutorial/ex2/RoomNumberAnnotator.xml"/>
+        </topDescriptor>
+        <analysisEngine async="true" inputQueueScaleout="34"/>
+        
+      </service>
+  </deployment>
+</analysisEngineDeploymentDescription>
\ No newline at end of file

Added: incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/test/resources/deploy/iq2AEg.xml
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/test/resources/deploy/iq2AEg.xml?rev=688880&view=auto
==============================================================================
--- incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/test/resources/deploy/iq2AEg.xml (added)
+++ incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/test/resources/deploy/iq2AEg.xml Mon Aug 25 14:00:14 2008
@@ -0,0 +1,39 @@
+<?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>Meeting Detector TAE</name>
+  <deployment protocol="jms" provider="activemq">
+    <casPool numberOfCASes="5"/>
+    
+      <service>
+        <inputQueue endpoint="RoomNumberAnnotatorQueue"
+          brokerURL="tcp://localhost:61616"/>
+        <topDescriptor>
+          <import
+            location="../descriptors/tutorial/ex4/MeetingDetectorTAE.xml"/>
+        </topDescriptor>
+        <analysisEngine async="true" inputQueueScaleout="34"/>
+        
+      </service>
+  </deployment>
+</analysisEngineDeploymentDescription>
\ No newline at end of file

Added: incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/test/resources/deploy/iq2AEg2.xml
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/test/resources/deploy/iq2AEg2.xml?rev=688880&view=auto
==============================================================================
--- incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/test/resources/deploy/iq2AEg2.xml (added)
+++ incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/test/resources/deploy/iq2AEg2.xml Mon Aug 25 14:00:14 2008
@@ -0,0 +1,39 @@
+<?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>Meeting Detector TAE</name>
+  <deployment protocol="jms" provider="activemq">
+    <casPool numberOfCASes="5"/>
+    
+      <service>
+        <inputQueue endpoint="RoomNumberAnnotatorQueue"
+          brokerURL="tcp://localhost:61616"/>
+        <topDescriptor>
+          <import
+            location="../descriptors/tutorial/ex4/MeetingDetectorTAE.xml"/>
+        </topDescriptor>
+        <analysisEngine async="true" internalReplyQueueScaleout="37"/>
+        
+      </service>
+  </deployment>
+</analysisEngineDeploymentDescription>
\ No newline at end of file

Added: incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/test/resources/deploy/iq3.xml
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/test/resources/deploy/iq3.xml?rev=688880&view=auto
==============================================================================
--- incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/test/resources/deploy/iq3.xml (added)
+++ incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/test/resources/deploy/iq3.xml Mon Aug 25 14:00:14 2008
@@ -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>remote Cas Multiplier</name>
+  <description></description>
+  
+  <deployment protocol="jms" provider="activemq">
+    <casPool numberOfCASes="5"/>
+
+    <service>
+      <inputQueue endpoint="MeetingDetectorTaeQueue"
+          brokerURL="tcp://localhost:61616"/>
+      <topDescriptor>    
+        <import location="../descriptors/cas_multiplier/SegmenterAndTokenizerAE.xml"/>
+      </topDescriptor>
+      <analysisEngine>
+        
+        <delegates>
+          <remoteAnalysisEngine key="Segmenter" remoteReplyQueueScaleout="35">
+            <inputQueue endpoint="iq3rmt" brokerURL="tcp://some.remote:12345"/>
+            <casMultiplier poolSize='7' initialFsHeapSize='999'/>
+          </remoteAnalysisEngine>
+        </delegates>
+      </analysisEngine>
+        
+    </service>
+
+  </deployment>
+  
+</analysisEngineDeploymentDescription>
\ No newline at end of file

Modified: incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/test/resources/deploy/tempQ1.xml
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/test/resources/deploy/tempQ1.xml?rev=688880&r1=688879&r2=688880&view=diff
==============================================================================
--- incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/test/resources/deploy/tempQ1.xml (original)
+++ incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/test/resources/deploy/tempQ1.xml Mon Aug 25 14:00:14 2008
@@ -34,7 +34,6 @@
             <remoteAnalysisEngine key="RoomNumber">
               <inputQueue endpoint="RoomNumber"
                 brokerURL="tcp://localhost:61616"/>
-              <replyQueue location="remote"/>
             </remoteAnalysisEngine>
           </delegates>
         </analysisEngine>

Added: incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/test/resources/descriptors/analysis_engine/SimpleTokenAndSentenceAnnotator.xml
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/test/resources/descriptors/analysis_engine/SimpleTokenAndSentenceAnnotator.xml?rev=688880&view=auto
==============================================================================
--- incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/test/resources/descriptors/analysis_engine/SimpleTokenAndSentenceAnnotator.xml (added)
+++ incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/test/resources/descriptors/analysis_engine/SimpleTokenAndSentenceAnnotator.xml Mon Aug 25 14:00:14 2008
@@ -0,0 +1,67 @@
+<?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.
+	 ***************************************************************
+   -->
+   
+<analysisEngineDescription xmlns="http://uima.apache.org/resourceSpecifier">
+  <frameworkImplementation>org.apache.uima.java</frameworkImplementation>
+  <primitive>true</primitive>
+  <annotatorImplementationName>org.apache.uima.examples.tokenizer.SimpleTokenAndSentenceAnnotator</annotatorImplementationName>
+  <analysisEngineMetaData>
+    <name>Simple Token and Sentence Annotator</name>
+    <description>Annotates tokens and sentences.</description>
+    <version>1.0</version>
+    <vendor>The Apache Software Foundation</vendor>
+    <configurationParameters/>
+    <configurationParameterSettings/>
+    <typeSystemDescription>
+      <types>
+        <typeDescription>
+          <name>org.apache.uima.examples.tokenizer.Token</name>
+          <description></description>
+          <supertypeName>uima.tcas.Annotation</supertypeName>
+        </typeDescription>
+        <typeDescription>
+          <name>org.apache.uima.examples.tokenizer.Sentence</name>
+          <description></description>
+          <supertypeName>uima.tcas.Annotation</supertypeName>
+        </typeDescription>
+      </types>
+    </typeSystemDescription>
+    <capabilities>
+      <capability>
+        <inputs/>
+        <outputs>
+          <type allAnnotatorFeatures="true">org.apache.uima.examples.tokenizer.Sentence</type>
+          <type allAnnotatorFeatures="true">org.apache.uima.examples.tokenizer.Token</type>
+        </outputs>
+        <languagesSupported>
+          <language>en</language>
+        </languagesSupported>
+      </capability>
+    </capabilities>
+	<operationalProperties>
+		<modifiesCas>true</modifiesCas>
+		<multipleDeploymentAllowed>true</multipleDeploymentAllowed>
+		<outputsNewCASes>false</outputsNewCASes>
+	</operationalProperties>
+  </analysisEngineMetaData>
+</analysisEngineDescription>