Author: cwiklik Date: Tue Aug 27 19:39:03 2013 New Revision: 1517950 URL: http://svn.apache.org/r1517950 Log: UIMA-3155 Modified last param in the addCasToOustandingList() to be a variable which an application can set. It previously was hardcoded to true meaning to use thread per CAS. The default should be false. But an application can override it.
Modified: uima/uima-as/trunk/uimaj-as-jms/src/main/java/org/apache/uima/adapter/jms/client/BaseMessageSender.java Modified: uima/uima-as/trunk/uimaj-as-jms/src/main/java/org/apache/uima/adapter/jms/client/BaseMessageSender.java URL: http://svn.apache.org/viewvc/uima/uima-as/trunk/uimaj-as-jms/src/main/java/org/apache/uima/adapter/jms/client/BaseMessageSender.java?rev=1517950&r1=1517949&r2=1517950&view=diff ============================================================================== --- uima/uima-as/trunk/uimaj-as-jms/src/main/java/org/apache/uima/adapter/jms/client/BaseMessageSender.java (original) +++ uima/uima-as/trunk/uimaj-as-jms/src/main/java/org/apache/uima/adapter/jms/client/BaseMessageSender.java Tue Aug 27 19:39:03 2013 @@ -374,7 +374,7 @@ public abstract class BaseMessageSender if( casProcessRequest ) { CAS cas = cacheEntry.getCAS(); // Add the cas to a list of CASes pending reply. Also start the timer if necessary - engine.serviceDelegate.addCasToOutstandingList(cacheEntry.getCasReferenceId(), cas.hashCode(), true); // true=timer per cas + engine.serviceDelegate.addCasToOutstandingList(cacheEntry.getCasReferenceId(), cas.hashCode(), engine.timerPerCAS); // true=timer per cas if (UIMAFramework.getLogger(CLASS_NAME).isLoggable(Level.FINE)) { UIMAFramework.getLogger(CLASS_NAME).logrb(Level.FINE, CLASS_NAME.getName(), "sendCAS", JmsConstants.JMS_LOG_RESOURCE_BUNDLE,