tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject svn commit: r745960 - /tuscany/branches/sca-java-1.x/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/provider/JMSResourceFactoryImpl.java
Date Thu, 19 Feb 2009 18:44:07 GMT
Author: antelder
Date: Thu Feb 19 18:44:06 2009
New Revision: 745960

URL: http://svn.apache.org/viewvc?rev=745960&view=rev
Log:
Fix already closed bug when the responseConnection is the same as the request connection

Modified:
    tuscany/branches/sca-java-1.x/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/provider/JMSResourceFactoryImpl.java

Modified: tuscany/branches/sca-java-1.x/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/provider/JMSResourceFactoryImpl.java
URL: http://svn.apache.org/viewvc/tuscany/branches/sca-java-1.x/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/provider/JMSResourceFactoryImpl.java?rev=745960&r1=745959&r2=745960&view=diff
==============================================================================
--- tuscany/branches/sca-java-1.x/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/provider/JMSResourceFactoryImpl.java
(original)
+++ tuscany/branches/sca-java-1.x/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/provider/JMSResourceFactoryImpl.java
Thu Feb 19 18:44:06 2009
@@ -246,7 +246,7 @@
     }
 
     public void closeResponseConnection() throws JMSException {
-        if (responseConnection != null) {
+        if (responseConnection != null && !responseConnection.equals(connection))
{
             try {
                 responseConnection.close();
             } catch (JMSException e) {



Mime
View raw message