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/27 21:03:08 UTC

svn commit: r689562 - /incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/main/scripts/dd2spring.xsl

Author: schor
Date: Wed Aug 27 12:03:07 2008
New Revision: 689562

URL: http://svn.apache.org/viewvc?rev=689562&view=rev
Log:
[UIMA-1135] comment out unused bean generation in dd2spring.xsl, change due to this Jira issue.

Modified:
    incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/main/scripts/dd2spring.xsl

Modified: incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/main/scripts/dd2spring.xsl
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/main/scripts/dd2spring.xsl?rev=689562&r1=689561&r2=689562&view=diff
==============================================================================
--- incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/main/scripts/dd2spring.xsl (original)
+++ incubator/uima/sandbox/trunk/uima-as/uima-as-distr/src/main/scripts/dd2spring.xsl Wed Aug 27 12:03:07 2008
@@ -741,19 +741,19 @@
       </xsl:call-template>
    
       <!-- next to be commented out due to design change summer 2008 -->
-      <xsl:if test="parent::u:service and u:casMultiplier">
+      <!--xsl:if test="parent::u:service and u:casMultiplier">
         <xsl:call-template name="generateCMSyncInputChannel">
           <xsl:with-param name="aeNameUnique" select="$aeNameUnique"/> 
           <xsl:with-param name="q_ID" select="$input_q_ID"/>
           <xsl:with-param name="queueFactoryID" select="$inputQueueFactoryID"/>
           <xsl:with-param name="inputOrReturn" select="'input'"/>
-          <xsl:with-param name="kind" select="'primitive'"/>  <!-- used in ctrl id name -->
-          <xsl:with-param name="msgHandlerChainID" select="f:getMetaMsgHandlerID(., 'primitive')"/>
+          <xsl:with-param name="kind" select="'primitive'"/-->  <!-- used in ctrl id name -->
+          <!--xsl:with-param name="msgHandlerChainID" select="f:getMetaMsgHandlerID(., 'primitive')"/>
           <xsl:with-param name="nbrConcurrentConsumers" select="u:scaleout/@numberOfInstances"/> 
           <xsl:with-param name="remote" select="()"/>
           <xsl:with-param name="poolingTaskExecutor" select="$poolingTaskExecutorID"/>       
         </xsl:call-template>      
-      </xsl:if>
+      </xsl:if-->
       
       
       <xsl:variable name="origin_q_name" select=
@@ -1048,16 +1048,16 @@
   <!--================================================-->
   
   <!-- note: NO LONGER USED as of UIMA-1019 design change -->
-  <xsl:template name="generateCMSyncInputChannel">
+  <!--xsl:template name="generateCMSyncInputChannel">
     <xsl:param name="aeNameUnique"/>
-    <xsl:param name="q_ID"/>   <!-- this is a descriptor-unique bean id of the input (or ret) q endpoint -->
-    <xsl:param name="queueFactoryID"/>
-    <xsl:param name="inputOrReturn"/> <!-- input or return -->
-    <xsl:param name="kind"/> <!-- either primitive or asAggr, used as 1st part of ctlr name -->
-    <xsl:param name="msgHandlerChainID"/>
+    <xsl:param name="q_ID"/-->   <!-- this is a descriptor-unique bean id of the input (or ret) q endpoint -->
+    <!--xsl:param name="queueFactoryID"/>
+    <xsl:param name="inputOrReturn"/--> <!-- input or return -->
+    <!--xsl:param name="kind"/--> <!-- either primitive or asAggr, used as 1st part of ctlr name -->
+    <!--xsl:param name="msgHandlerChainID"/>
     <xsl:param name="nbrConcurrentConsumers"/>
-    <xsl:param name="remote"/>  <!-- is always () -->
-    <xsl:param name="poolingTaskExecutor"/>
+    <xsl:param name="remote"/-->  <!-- is always () -->
+    <!--xsl:param name="poolingTaskExecutor"/>
     
     <xsl:variable name="q_listenerID" select="concat($kind, '_', $inputOrReturn, '_q_listenerID_',$aeNameUnique,
              if ($remote) then concat('_', $remote/@key) else '')"/>    
@@ -1074,7 +1074,7 @@
        concat($q_ID, '__CasSync'),
       '~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'),3)"/>    
     <bean id="{$msgListenerContainerID}"
-      class="org.apache.uima.adapter.jms.activemq.UimaDefaultMessageListenerContainer">
+      class="org.apache.uima.adapter.jms.activemq.UimaDefaultMessageListenerContainer"-->
 
       <!-- next commented out - because pool instances are "pinned" to particular ae engine instances -->
       <!--xsl:if test="$poolingTaskExecutor">
@@ -1082,7 +1082,7 @@
         <property name="taskExecutor" ref="{$poolingTaskExecutor}"/>
       </xsl:if-->
 
-      <xsl:sequence select="f:generateLineComment('Define number of JMS Consumers',5)"/>
+      <!--xsl:sequence select="f:generateLineComment('Define number of JMS Consumers',5)"/>
       <property name="concurrentConsumers" value="{$nbrConcurrentConsumers}"/>
       
       <xsl:sequence select="f:generateLineComment(concat($inputOrReturn, ' Queue'), 5)"/>
@@ -1093,7 +1093,7 @@
       
       <property name="connectionFactory" ref="{$queueFactoryID}"/>
     </bean>
-  </xsl:template>
+  </xsl:template-->
     
   <!--==========================================-->
   <!--   Generate an output Channel             -->