cfbearden

Deployment Descriptor 2011/10/21

Oct 21st, 2011
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.16 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <analysisEngineDeploymentDescription xmlns="http://uima.apache.org/resourceSpecifier">
  3.   <name>Deploy_SentenceTest</name>
  4.   <description/>
  5.   <version>1.0</version>
  6.   <vendor/>
  7.   <deployment protocol="jms" provider="activemq">
  8.     <casPool numberOfCASes="5" initialFsHeapSize="2000000"/>
  9.     <service>
  10.       <inputQueue endpoint="CollectionReader" brokerURL="${defaultBrokerURL}" prefetch="2"/>
  11.       <topDescriptor>
  12.         <import location="SentenceTest2.xml"/>
  13.       </topDescriptor>
  14.       <analysisEngine async="true">
  15.         <scaleout numberOfInstances="1"/>
  16.         <delegates>
  17.           <analysisEngine key="SentenceDetectorAggregate" async="false">
  18.             <scaleout numberOfInstances="11"/>
  19.             <asyncAggregateErrorConfiguration>
  20.               <getMetadataErrors maxRetries="0" timeout="0" errorAction="terminate"/>
  21.               <processCasErrors maxRetries="0" timeout="0" continueOnRetryFailure="false" thresholdCount="0" thresholdWindow="0" thresholdAction="terminate"/>
  22.               <collectionProcessCompleteErrors timeout="0" additionalErrorAction="terminate"/>
  23.             </asyncAggregateErrorConfiguration>
  24.           </analysisEngine>
  25.           <analysisEngine key="Sentences2DbWriter" async="false">
  26.             <scaleout numberOfInstances="2"/>
  27.             <asyncAggregateErrorConfiguration>
  28.               <getMetadataErrors maxRetries="0" timeout="0" errorAction="terminate"/>
  29.               <processCasErrors maxRetries="0" timeout="0" continueOnRetryFailure="false" thresholdCount="0" thresholdWindow="0" thresholdAction="terminate"/>
  30.               <collectionProcessCompleteErrors timeout="0" additionalErrorAction="terminate"/>
  31.             </asyncAggregateErrorConfiguration>
  32.           </analysisEngine>
  33.         </delegates>
  34.         <asyncPrimitiveErrorConfiguration>
  35.           <processCasErrors thresholdCount="0" thresholdWindow="0" thresholdAction="terminate"/>
  36.           <collectionProcessCompleteErrors timeout="0" additionalErrorAction="terminate"/>
  37.         </asyncPrimitiveErrorConfiguration>
  38.       </analysisEngine>
  39.     </service>
  40.   </deployment>
  41. </analysisEngineDeploymentDescription>
Advertisement
Add Comment
Please, Sign In to add comment