axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/ime/internal MessageExchangeImpl.java
Date Tue, 17 Dec 2002 07:01:20 GMT
jmsnell     2002/12/16 23:01:20

  Modified:    java/src/org/apache/axis/ime/internal
                        MessageExchangeImpl.java
  Log:
  
  
  Revision  Changes    Path
  1.15      +4 -0      xml-axis/java/src/org/apache/axis/ime/internal/MessageExchangeImpl.java
  
  Index: MessageExchangeImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/ime/internal/MessageExchangeImpl.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- MessageExchangeImpl.java	11 Dec 2002 22:38:19 -0000	1.14
  +++ MessageExchangeImpl.java	17 Dec 2002 07:01:20 -0000	1.15
  @@ -173,6 +173,8 @@
               log.debug("Enter: MessageExchangeImpl::receive");
           }
           holder = new Holder();
  +        MessageExchangeEventListener oldListener = 
  +          getMessageExchangeEventListener();
           Listener listener = new Listener(holder);
           setMessageExchangeEventListener(listener);
           try {
  @@ -183,6 +185,8 @@
                 holder.waitForNotify();
           } catch (InterruptedException ie) {
               throw AxisFault.makeFault(ie);
  +        } finally {
  +          setMessageExchangeEventListener(oldListener);
           }
           if (log.isDebugEnabled()) {
               log.debug("Exit: MessageExchangeImpl::receive");
  
  
  

Mime
View raw message