You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fx-dev@ws.apache.org by ml...@apache.org on 2006/11/24 14:18:40 UTC
svn commit: r478871 -
/webservices/sandesha/trunk/java/src/org/apache/sandesha2/client/SandeshaClient.java
Author: mlovett
Date: Fri Nov 24 05:18:38 2006
New Revision: 478871
URL: http://svn.apache.org/viewvc?view=rev&rev=478871
Log:
Ensure we clear the transaction flag when in the SenderWorker
Modified:
webservices/sandesha/trunk/java/src/org/apache/sandesha2/client/SandeshaClient.java
Modified: webservices/sandesha/trunk/java/src/org/apache/sandesha2/client/SandeshaClient.java
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/java/src/org/apache/sandesha2/client/SandeshaClient.java?view=diff&rev=478871&r1=478870&r2=478871
==============================================================================
--- webservices/sandesha/trunk/java/src/org/apache/sandesha2/client/SandeshaClient.java (original)
+++ webservices/sandesha/trunk/java/src/org/apache/sandesha2/client/SandeshaClient.java Fri Nov 24 05:18:38 2006
@@ -288,11 +288,13 @@
} catch (Exception e) {
if (!withinTransaction && reportTransaction!=null) {
reportTransaction.rollback();
+ configurationContext.setProperty(Sandesha2Constants.WITHIN_TRANSACTION, Sandesha2Constants.VALUE_FALSE);
rolebacked = true;
}
} finally {
if (!withinTransaction && !rolebacked && reportTransaction!=null) {
reportTransaction.commit();
+ configurationContext.setProperty(Sandesha2Constants.WITHIN_TRANSACTION, Sandesha2Constants.VALUE_FALSE);
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org