added a little hover-over to display the message body

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@397214 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
James Strachan 2006-04-26 15:09:38 +00:00
parent 90b66ce627
commit c0ac0b7718
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,5 @@
<%@ attribute name="message" type="javax.jms.Message" required="true" %> <%@ attribute name="message" type="javax.jms.Message" required="true" %>
<% <%
System.out.println("Got message: " + message);
if (message != null) { if (message != null) {
if (message.getJMSDeliveryMode() == javax.jms.DeliveryMode.PERSISTENT) { if (message.getJMSDeliveryMode() == javax.jms.DeliveryMode.PERSISTENT) {
out.println("Persistent"); out.println("Persistent");

View File

@ -26,7 +26,8 @@
---%> ---%>
<jms:forEachMessage queueBrowser="${requestContext.queueBrowser.browser}" var="row"> <jms:forEachMessage queueBrowser="${requestContext.queueBrowser.browser}" var="row">
<tr> <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>${row.JMSCorrelationID}</td>
<td><jms:persistent message="${row}"/></td> <td><jms:persistent message="${row}"/></td>
<td>${row.JMSPriority}</td> <td>${row.JMSPriority}</td>