You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by an...@apache.org on 2002/11/18 16:48:19 UTC

cvs commit: xml-axis-wsif/java/src/org/apache/wsif/providers/jms WSIFPort_Jms.java

antelder    2002/11/18 07:48:19

  Modified:    java/src/org/apache/wsif/providers/jms WSIFPort_Jms.java
  Log:
  Correct JMS ports to properly close the JMS resources
  
  Revision  Changes    Path
  1.14      +11 -0     xml-axis-wsif/java/src/org/apache/wsif/providers/jms/WSIFPort_Jms.java
  
  Index: WSIFPort_Jms.java
  ===================================================================
  RCS file: /home/cvs/xml-axis-wsif/java/src/org/apache/wsif/providers/jms/WSIFPort_Jms.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- WSIFPort_Jms.java	1 Nov 2002 17:17:40 -0000	1.13
  +++ WSIFPort_Jms.java	18 Nov 2002 15:48:19 -0000	1.14
  @@ -299,6 +299,17 @@
   	}
   
       /**
  +     * Closes the port. All methods are invalid after calling this method.
  +     */
  +    public void close() throws WSIFException {
  +        Trc.entry(this);
  +        if (jmsDest != null) {
  +        	jmsDest.close();
  +        }
  +        Trc.exit();
  +    }
  +
  +    /**
        * helper
        */
       public String deep() {