You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by cw...@apache.org on 2009/10/05 19:52:53 UTC
svn commit: r821937 - in
/incubator/uima/uima-as/trunk/uimaj-as-activemq/src/test/resources/deployment:
Deploy_SingleInstancePersonTitleAnnotator.xml
Deploy_SyncAggregateWithJmsServiceAndScaleoutOverride.xml
Author: cwiklik
Date: Mon Oct 5 17:52:52 2009
New Revision: 821937
URL: http://svn.apache.org/viewvc?rev=821937&view=rev
Log:
UIMA-1593 To test override of the multipleDeploymentAllowed in the jms service wrapper
Added:
incubator/uima/uima-as/trunk/uimaj-as-activemq/src/test/resources/deployment/Deploy_SingleInstancePersonTitleAnnotator.xml
incubator/uima/uima-as/trunk/uimaj-as-activemq/src/test/resources/deployment/Deploy_SyncAggregateWithJmsServiceAndScaleoutOverride.xml
Added: incubator/uima/uima-as/trunk/uimaj-as-activemq/src/test/resources/deployment/Deploy_SingleInstancePersonTitleAnnotator.xml
URL: http://svn.apache.org/viewvc/incubator/uima/uima-as/trunk/uimaj-as-activemq/src/test/resources/deployment/Deploy_SingleInstancePersonTitleAnnotator.xml?rev=821937&view=auto
==============================================================================
--- incubator/uima/uima-as/trunk/uimaj-as-activemq/src/test/resources/deployment/Deploy_SingleInstancePersonTitleAnnotator.xml (added)
+++ incubator/uima/uima-as/trunk/uimaj-as-activemq/src/test/resources/deployment/Deploy_SingleInstancePersonTitleAnnotator.xml Mon Oct 5 17:52:52 2009
@@ -0,0 +1,48 @@
+<?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>Room Number Annotator</name>
+ <description>Deploys Person Title Annotator Primitive AE</description>
+
+ <deployment protocol="jms" provider="activemq">
+ <casPool numberOfCASes="5"/>
+ <service>
+ <inputQueue endpoint="PersonTitleAnnotatorQueue" brokerURL="tcp://localhost:8118" prefetch="1"/>
+ <topDescriptor>
+ <import location="../descriptors/analysis_engine/SingleInstancePersonTitleAnnotator.xml"/>
+ </topDescriptor>
+ <analysisEngine>
+ <asyncPrimitiveErrorConfiguration>
+ <!-- <processCasErrors thresholdCount="4" thresholdWindow="10" thresholdAction="terminate" /> -->
+ <collectionProcessCompleteErrors additionalErrorAction="terminate" />
+ </asyncPrimitiveErrorConfiguration>
+ </analysisEngine>
+
+
+ </service>
+ </deployment>
+
+</analysisEngineDeploymentDescription>
Added: incubator/uima/uima-as/trunk/uimaj-as-activemq/src/test/resources/deployment/Deploy_SyncAggregateWithJmsServiceAndScaleoutOverride.xml
URL: http://svn.apache.org/viewvc/incubator/uima/uima-as/trunk/uimaj-as-activemq/src/test/resources/deployment/Deploy_SyncAggregateWithJmsServiceAndScaleoutOverride.xml?rev=821937&view=auto
==============================================================================
--- incubator/uima/uima-as/trunk/uimaj-as-activemq/src/test/resources/deployment/Deploy_SyncAggregateWithJmsServiceAndScaleoutOverride.xml (added)
+++ incubator/uima/uima-as/trunk/uimaj-as-activemq/src/test/resources/deployment/Deploy_SyncAggregateWithJmsServiceAndScaleoutOverride.xml Mon Oct 5 17:52:52 2009
@@ -0,0 +1,42 @@
+<?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>Top Level TAE</name>
+ <description></description>
+
+ <deployment protocol="jms" provider="activemq">
+ <casPool numberOfCASes="5"/>
+ <service>
+ <inputQueue endpoint="TopLevelTaeQueue" brokerURL="tcp://localhost:8118" prefetch="1"/>
+ <topDescriptor>
+ <import location="../descriptors/analysis_engine/SimpleTestAggregateWithJmsServiceAndOverride.xml"/>
+ </topDescriptor>
+ <analysisEngine async="false">
+ <!-- Run the CM & Jms Service Adapter synchronously, just as RunAE and CPE do -->
+ </analysisEngine>
+ </service>
+ </deployment>
+
+</analysisEngineDeploymentDescription>