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/08/08 13:52:39 UTC

cvs commit: xml-axis-wsif/java/test/util TestUtilities.java

antelder    2002/08/08 04:52:39

  Modified:    java/test/util TestUtilities.java
  Log:
  Change to not use depricated stop() methods to interupt the JMS listeners
  
  Revision  Changes    Path
  1.6       +2 -2      xml-axis-wsif/java/test/util/TestUtilities.java
  
  Index: TestUtilities.java
  ===================================================================
  RCS file: /home/cvs/xml-axis-wsif/java/test/util/TestUtilities.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- TestUtilities.java	10 Jul 2002 15:34:07 -0000	1.5
  +++ TestUtilities.java	8 Aug 2002 11:52:39 -0000	1.6
  @@ -199,8 +199,8 @@
        */
       public static void stopListeners() 
       {
  -       if ( jmsAb != null ) jmsAb.stop();
  -       if ( jmsSq != null ) jmsSq.stop();
  +       if ( jmsAb != null ) jmsAb.interrupt();
  +       if ( jmsSq != null ) jmsSq.interrupt();
          if ( asyncListener != null ) asyncListener.stop();
          if ( nativeReqListener != null ) nativeReqListener.stop();
          ((WSIFDefaultCorrelationService)WSIFCorrelationServiceLocator.