antelder 2002/11/18 07:46:05
Modified: java/src/org/apache/wsif/util/jms WSIFJMSProperties.java
Log:
Correct type of JMSExpriation property from Integer to Long
Revision Changes Path
1.8 +1 -1
xml-axis-wsif/java/src/org/apache/wsif/util/jms/WSIFJMSProperties.java
Index: WSIFJMSProperties.java
===================================================================
RCS file:
/home/cvs/xml-axis-wsif/java/src/org/apache/wsif/util/jms/WSIFJMSProperties.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- WSIFJMSProperties.java 1 Nov 2002 17:15:03 -0000 1.7
+++ WSIFJMSProperties.java 18 Nov 2002 15:46:05 -0000 1.8
@@ -162,7 +162,7 @@
} else if (prop.equals(DESTINATION)) {
message.setJMSDestination((Destination) value);
} else if (prop.equals(EXPIRATION)) {
- message.setJMSExpiration(((Integer) value).intValue());
+ message.setJMSExpiration(((Long) value).longValue());
} else if (prop.equals(PRIORITY)) {
message.setJMSPriority(((Integer) value).intValue());
producer.setPriority(((Integer) value).intValue());