commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject cvs commit: jakarta-commons-sandbox/messenger/src/java/org/apache/commons/messenger MessengerSupport.java
Date Fri, 12 Jul 2002 07:17:12 GMT
jstrachan    2002/07/12 00:17:12

  Modified:    messenger/src/java/org/apache/commons/messenger
                        MessengerSupport.java
  Log:
  ensured that close() will actually clear the connection
  
  Revision  Changes    Path
  1.27      +3 -2      jakarta-commons-sandbox/messenger/src/java/org/apache/commons/messenger/MessengerSupport.java
  
  Index: MessengerSupport.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/messenger/src/java/org/apache/commons/messenger/MessengerSupport.java,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- MessengerSupport.java	8 Jul 2002 14:37:36 -0000	1.26
  +++ MessengerSupport.java	12 Jul 2002 07:17:11 -0000	1.27
  @@ -536,6 +536,7 @@
   
       public void close() throws JMSException {
           getConnection().close();
  +        getSessionFactory().setConnection(null);
       }
   
       /** Get the producer's default delivery mode. */
  
  
  

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message