activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dej...@apache.org
Subject svn commit: r1150666 - /activemq/trunk/activemq-web/src/main/java/org/apache/activemq/web/view/RssMessageRenderer.java
Date Mon, 25 Jul 2011 12:28:24 GMT
Author: dejanb
Date: Mon Jul 25 12:28:23 2011
New Revision: 1150666

URL: http://svn.apache.org/viewvc?rev=1150666&view=rev
Log:
https://issues.apache.org/jira/browse/AMQ-3415 - rss field to show message timestamp

Modified:
    activemq/trunk/activemq-web/src/main/java/org/apache/activemq/web/view/RssMessageRenderer.java

Modified: activemq/trunk/activemq-web/src/main/java/org/apache/activemq/web/view/RssMessageRenderer.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-web/src/main/java/org/apache/activemq/web/view/RssMessageRenderer.java?rev=1150666&r1=1150665&r2=1150666&view=diff
==============================================================================
--- activemq/trunk/activemq-web/src/main/java/org/apache/activemq/web/view/RssMessageRenderer.java
(original)
+++ activemq/trunk/activemq-web/src/main/java/org/apache/activemq/web/view/RssMessageRenderer.java
Mon Jul 25 12:28:23 2011
@@ -117,7 +117,7 @@ public class RssMessageRenderer extends 
         entry.setTitle(title);
         String link = request.getRequestURI() + "?msgId=" + title;
         entry.setLink(link);
-        entry.setPublishedDate(new Date());
+        entry.setPublishedDate(new Date(message.getJMSTimestamp()));
         return entry;
     }
 



Mime
View raw message