cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1521193 - /cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/JMSUtils.java
Date Mon, 09 Sep 2013 17:13:41 GMT
Author: dkulp
Date: Mon Sep  9 17:13:41 2013
New Revision: 1521193

URL: http://svn.apache.org/r1521193
Log:
[CXF-5257] Set the JMS expiration header

Modified:
    cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/JMSUtils.java

Modified: cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/JMSUtils.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/JMSUtils.java?rev=1521193&r1=1521192&r2=1521193&view=diff
==============================================================================
--- cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/JMSUtils.java (original)
+++ cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/JMSUtils.java Mon
Sep  9 17:13:41 2013
@@ -505,9 +505,9 @@ public final class JMSUtils {
         if (messageProperties.isSetJMSDeliveryMode()) {
             jmsMessage.setJMSDeliveryMode(messageProperties.getJMSDeliveryMode());
         }
-        // if (messageProperties.isSetTimeToLive()) {
-        // jmsMessage.setJMSExpiration(expiration);
-        // }
+        if (messageProperties.isSetJMSExpiration()) {
+            jmsMessage.setJMSExpiration(messageProperties.getJMSExpiration());
+        }
         if (messageProperties.isSetJMSPriority()) {
             jmsMessage.setJMSPriority(messageProperties.getJMSPriority());
         }



Mime
View raw message