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/06/30 16:12:14 UTC

svn commit: r789748 - /incubator/uima/sandbox/trunk/uima-as/uimaj-as-jms/src/main/java/org/apache/uima/adapter/jms/client/BaseUIMAAsynchronousEngineCommon_impl.java

Author: cwiklik
Date: Tue Jun 30 14:12:14 2009
New Revision: 789748

URL: http://svn.apache.org/viewvc?rev=789748&view=rev
Log:
UIMA-1391 Modified to store FreeCas Temp Queue in the Delegate object

Modified:
    incubator/uima/sandbox/trunk/uima-as/uimaj-as-jms/src/main/java/org/apache/uima/adapter/jms/client/BaseUIMAAsynchronousEngineCommon_impl.java

Modified: incubator/uima/sandbox/trunk/uima-as/uimaj-as-jms/src/main/java/org/apache/uima/adapter/jms/client/BaseUIMAAsynchronousEngineCommon_impl.java
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/uima-as/uimaj-as-jms/src/main/java/org/apache/uima/adapter/jms/client/BaseUIMAAsynchronousEngineCommon_impl.java?rev=789748&r1=789747&r2=789748&view=diff
==============================================================================
--- incubator/uima/sandbox/trunk/uima-as/uimaj-as-jms/src/main/java/org/apache/uima/adapter/jms/client/BaseUIMAAsynchronousEngineCommon_impl.java (original)
+++ incubator/uima/sandbox/trunk/uima-as/uimaj-as-jms/src/main/java/org/apache/uima/adapter/jms/client/BaseUIMAAsynchronousEngineCommon_impl.java Tue Jun 30 14:12:14 2009
@@ -892,6 +892,11 @@
 	{
 		serviceDelegate.cancelDelegateTimer();
 		serviceDelegate.setState(Delegate.OK_STATE);
+    //  check if the reply msg contains replyTo destination. I will be
+    //  added by the Cas Multiplier to the getMeta reply
+    if ( message.getJMSReplyTo() != null ) {
+      serviceDelegate.setFreeCasDestination(message.getJMSReplyTo());
+    }
 
 		//  Check if this is a reply for Ping sent in response to a timeout
 		if ( serviceDelegate.isAwaitingPingReply() ) {