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 2012/05/16 19:09:57 UTC
svn commit: r1339267 -
/uima/uima-as/trunk/uimaj-as-activemq/src/test/java/org/apache/uima/ee/test/utils/ActiveMQSupport.java
Author: cwiklik
Date: Wed May 16 17:09:57 2012
New Revision: 1339267
URL: http://svn.apache.org/viewvc?rev=1339267&view=rev
Log:
UIMA-2388 forgot to commit the change related to preventing uima-as process from self-destructing the jvm via (System.exit())
Modified:
uima/uima-as/trunk/uimaj-as-activemq/src/test/java/org/apache/uima/ee/test/utils/ActiveMQSupport.java
Modified: uima/uima-as/trunk/uimaj-as-activemq/src/test/java/org/apache/uima/ee/test/utils/ActiveMQSupport.java
URL: http://svn.apache.org/viewvc/uima/uima-as/trunk/uimaj-as-activemq/src/test/java/org/apache/uima/ee/test/utils/ActiveMQSupport.java?rev=1339267&r1=1339266&r2=1339267&view=diff
==============================================================================
--- uima/uima-as/trunk/uimaj-as-activemq/src/test/java/org/apache/uima/ee/test/utils/ActiveMQSupport.java (original)
+++ uima/uima-as/trunk/uimaj-as-activemq/src/test/java/org/apache/uima/ee/test/utils/ActiveMQSupport.java Wed May 16 17:09:57 2012
@@ -90,6 +90,9 @@ public class ActiveMQSupport extends Tes
System.clearProperty(DEFAULT_HTTP_BROKER_URL_KEY);
}
System.setProperty(DEFAULT_HTTP_BROKER_URL_KEY, httpConnector.getConnectUri().toString());
+ // define property so that UIMA AS error handler doesnt call System.exit() if the
+ // error handler action=terminate.
+ System.setProperty("dontKill","");
}
protected void cleanBroker( BrokerService targetBroker) throws Exception {
// Remove messages from all queues