| <?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. |
| --> |
| |
| <cpeDescription> |
| <collectionReader> |
| <collectionIterator> |
| <descriptor> |
| <include href="c://cpm/conf/collectionReaders/WFReader.xml"/> |
| </descriptor> |
| </collectionIterator> |
| <casInitializer> |
| <descriptor> |
| <include href="c://cpm/conf/casinitializers/WFReaderInitializer.xml"/> |
| </descriptor> |
| </casInitializer> |
| </collectionReader> |
| <casProcessors casPoolSize="7" processingUnitThreadCount="2"> |
| <casProcessor deployment="remote" name="Detag Miner"> |
| <descriptor> |
| <include href="c://cpm/annotators/wfminers/detag/service.xml"/> |
| </descriptor> |
| <deploymentParameters> |
| <parameter name="vnsPort" type="string" value="9003"/> |
| <parameter name="vnsHost" type="string" value="localhost"/> |
| </deploymentParameters> |
| <filter>where Detag:DetagContent</filter> |
| <errorHandling> |
| <errorRateThreshold action="continue" value="50/500"/> |
| <maxConsecutiveRestarts action="continue" value="3"/> |
| <timeout max="5000"/> |
| </errorHandling> |
| <checkpoint batch="3"/> |
| </casProcessor> |
| <casProcessor contentTag="Detag:DetagContent" deployment="local" name="DupShingle Miner"> |
| <descriptor> |
| <include href="c://cpm/annotators/wfminers/detag/descriptor.xml"/> |
| </descriptor> |
| <runInSeparateProcess> |
| <exec executable="/home/cwiklik/cpm/wfcp/annotators/wfminers/detagger/bin/runDetagger.sh"> |
| <arg>-DVNS_HOST=127.0.0.1</arg> |
| <arg>-DVNS_PORT=9904</arg> |
| </exec> |
| </runInSeparateProcess> |
| <deploymentParameters> |
| <parameter name="vnsHost" type="string" value="Host1"/> |
| <parameter name="vnsPort" type="string" value="9904"/> |
| <parameter name="Parm1" type="string" value="Value1"/> |
| </deploymentParameters> |
| <filter>where Detag:DetagContent</filter> |
| <errorHandling> |
| <errorRateThreshold action="continue" value="50/500"/> |
| <maxConsecutiveRestarts action="continue" value="3"/> |
| <timeout max="5000"/> |
| </errorHandling> |
| <checkpoint batch="3"/> |
| </casProcessor> |
| <casProcessor deployment="integrated" name="WF Writer"> |
| <descriptor> |
| <include href="c://cpm/conf/consumers/wf/store/descriptor.xml"/> |
| </descriptor> |
| <deploymentParameters/> |
| <filter/> |
| <errorHandling> |
| <errorRateThreshold action="terminate" value="100/1000"/> |
| <maxConsecutiveRestarts action="terminate" value="30"/> |
| <timeout max="100000"/> |
| </errorHandling> |
| <checkpoint batch="100"/> |
| </casProcessor> |
| </casProcessors> |
| <cpeConfig> |
| <numToProcess>1000</numToProcess> |
| <deployAs>immediate</deployAs> |
| <checkpoint file="" time="300000"/> |
| <timerImpl>java</timerImpl> |
| <checkpoint batch="10" file="c://cpm/data/checkpoint.dat" time="3000"/> |
| <startAt/> |
| </cpeConfig> |
| </cpeDescription> |