antelder 2002/11/18 07:46:06
Modified: java/src/org/apache/wsif/util/jms Tag: pre1_2_0-patches
WSIFJMSProperties.java
Log:
Correct type of JMSExpriation property from Integer to Long
Revision Changes Path
No revision
No revision
1.5.2.3 +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.5.2.2
retrieving revision 1.5.2.3
diff -u -r1.5.2.2 -r1.5.2.3
--- WSIFJMSProperties.java 4 Nov 2002 16:47:59 -0000 1.5.2.2
+++ WSIFJMSProperties.java 18 Nov 2002 15:46:06 -0000 1.5.2.3
@@ -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());