axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject cvs commit: xml-axis-wsif/java/src/org/apache/wsif/providers/jms WSIFOperation_Jms.java
Date Thu, 26 Sep 2002 09:03:14 GMT
antelder    2002/09/26 02:03:14

  Modified:    java/src/org/apache/wsif/providers/jms
                        WSIFOperation_Jms.java
  Log:
  Fix a bug in the native JMS provider which caused the type of propertyValues in the WSDL
JMS address to be ignored.
  
  Revision  Changes    Path
  1.26      +4 -1      xml-axis-wsif/java/src/org/apache/wsif/providers/jms/WSIFOperation_Jms.java
  
  Index: WSIFOperation_Jms.java
  ===================================================================
  RCS file: /home/cvs/xml-axis-wsif/java/src/org/apache/wsif/providers/jms/WSIFOperation_Jms.java,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- WSIFOperation_Jms.java	18 Sep 2002 15:38:18 -0000	1.25
  +++ WSIFOperation_Jms.java	26 Sep 2002 09:03:13 -0000	1.26
  @@ -622,7 +622,10 @@
          if ( propertyValues != null ) {
             for (Iterator i = propertyValues.iterator(); i.hasNext(); ) {
             	JMSPropertyValue pv = (JMSPropertyValue)i.next();
  -             jmsDest.setProperty( pv.getName(), pv.getValue() );
  +            if ( pv != null ) {
  +                Object o = getObjectValue( pv.getType(), pv.getValue() );
  +                jmsDest.setProperty( pv.getName(), o);
  +            }
             }
          }
       }
  
  
  

Mime
View raw message