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:05:40 GMT
jmsnell     2002/12/16 23:05:40

  Modified:    java/src/org/apache/axis/ime/internal
                        MessageExchangeImpl.java
  Log:
  
  
  Revision  Changes    Path
  1.16      +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.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- MessageExchangeImpl.java	17 Dec 2002 07:01:20 -0000	1.15
  +++ MessageExchangeImpl.java	17 Dec 2002 07:05:40 -0000	1.16
  @@ -249,6 +249,8 @@
               log.debug("Enter: MessageExchangeImpl::sendAndReceive");
           }
           holder = new Holder();
  +        MessageExchangeEventListener oldListener = 
  +          getMessageExchangeEventListener();
           Listener listener = new Listener(holder);
           setMessageExchangeEventListener(listener);
           try {
  @@ -259,6 +261,8 @@
                 holder.waitForNotify();
           } catch (InterruptedException ie) {
               throw AxisFault.makeFault(ie);
  +        } finally {
  +          setMessageExchangeEventListener(oldListener);
           }
           if (log.isDebugEnabled()) {
               log.debug("Exit: MessageExchangeImpl::sendAndReceive");
  
  
  

Mime
View raw message