Author: jstrachan
Date: Wed Apr 26 08:09:38 2006
New Revision: 397214
URL: http://svn.apache.org/viewcvs?rev=397214&view=rev
Log:
added a little hover-over to display the message body
Modified:
incubator/activemq/trunk/activemq-web-console/src/main/webapp/WEB-INF/tags/jms/persistent.tag
incubator/activemq/trunk/activemq-web-console/src/main/webapp/browse.jsp
Modified:
incubator/activemq/trunk/activemq-web-console/src/main/webapp/WEB-INF/tags/jms/persistent.tag
URL:
http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-web-console/src/main/webapp/WEB-INF/tags/jms/persistent.tag?rev=397214&r1=397213&r2=397214&view=diff
==============================================================================
---
incubator/activemq/trunk/activemq-web-console/src/main/webapp/WEB-INF/tags/jms/persistent.tag
(original)
+++
incubator/activemq/trunk/activemq-web-console/src/main/webapp/WEB-INF/tags/jms/persistent.tag
Wed Apr 26 08:09:38 2006
@@ -1,6 +1,5 @@
<%@ attribute name="message" type="javax.jms.Message" required="true" %>
<%
- System.out.println("Got message: " + message);
if (message != null) {
if (message.getJMSDeliveryMode() ==
javax.jms.DeliveryMode.PERSISTENT) {
out.println("Persistent");
Modified:
incubator/activemq/trunk/activemq-web-console/src/main/webapp/browse.jsp
URL:
http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-web-console/src/main/webapp/browse.jsp?rev=397214&r1=397213&r2=397214&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-web-console/src/main/webapp/browse.jsp
(original)
+++ incubator/activemq/trunk/activemq-web-console/src/main/webapp/browse.jsp
Wed Apr 26 08:09:38 2006
@@ -26,7 +26,8 @@
---%>
<jms:forEachMessage queueBrowser="${requestContext.queueBrowser.browser}"
var="row">
<tr>
-<td><a href="message.jsp?id=${row.JMSMessageID}"
title="${row.JMSDestination}">${row.JMSMessageID}</a></td>
+<jms:body message="${row}" var="body"/>
+<td><a href="message.jsp?id=${row.JMSMessageID}"
title="${body}">${row.JMSMessageID}</a></td>
<td>${row.JMSCorrelationID}</td>
<td><jms:persistent message="${row}"/></td>
<td>${row.JMSPriority}</td>