cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1521197 - /cxf/branches/2.7.x-fixes/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/JMSUtils.java
Date Mon, 09 Sep 2013 17:19:31 GMT
Author: dkulp
Date: Mon Sep  9 17:19:31 2013
New Revision: 1521197

URL: http://svn.apache.org/r1521197
Log:
Merged revisions 1521193 via  git cherry-pick from
https://svn.apache.org/repos/asf/cxf/trunk

........
  r1521193 | dkulp | 2013-09-09 13:13:41 -0400 (Mon, 09 Sep 2013) | 2 lines

  [CXF-5257] Set the JMS expiration header

........

Modified:
    cxf/branches/2.7.x-fixes/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/JMSUtils.java

Modified: cxf/branches/2.7.x-fixes/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/JMSUtils.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.7.x-fixes/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/JMSUtils.java?rev=1521197&r1=1521196&r2=1521197&view=diff
==============================================================================
--- cxf/branches/2.7.x-fixes/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/JMSUtils.java
(original)
+++ cxf/branches/2.7.x-fixes/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/JMSUtils.java
Mon Sep  9 17:19:31 2013
@@ -506,9 +506,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