Backported web-console fix to 4.1 branch

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/branches/activemq-4.1@475831 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Adrian T. Co 2006-11-16 17:42:46 +00:00
parent af416908d4
commit 415b561cf2
3 changed files with 10 additions and 5 deletions

View File

@ -31,6 +31,7 @@
<bean name="/createSubscriber.action" class="org.apache.activemq.web.controller.CreateSubscriber" autowire="constructor" singleton="false"/>
<bean name="/deleteSubscriber.action" class="org.apache.activemq.web.controller.DeleteSubscriber" autowire="constructor" singleton="false"/>
<bean name="/sendMessage.action" class="org.apache.activemq.web.controller.SendMessage" autowire="constructor" singleton="false"/>
<bean name="/purgeDestination.action" class="org.apache.activemq.web.controller.PurgeDestination" autowire="constructor" singleton="false"/>
<!--
- This bean resolves specific types of exception to corresponding error views.

View File

@ -54,10 +54,10 @@
<c:forEach items="${requestContext.brokerQuery.queues}" var="row">
<tr>
<td><a href="browse.jsp?JMSDestination=${row.name}">${row.name}</a></td>
<td>${row.queueSize}</td>
<td>${row.consumerCount}</td>
<td>${row.enqueueCount}</td>
<td>${row.dequeueCount}</td>
<td>${row.destinationStatistics.messages.count}</td>
<td>${row.destinationStatistics.consumers.count}</td>
<td>${row.destinationStatistics.enqueues.count}</td>
<td>${row.destinationStatistics.dequeues.count}</td>
<td>
<a href="browse.jsp?JMSDestination=${row.name}">Browse</a>
<%--

View File

@ -19,7 +19,11 @@
<c:forEach items="${requestContext.brokerQuery.queues}" var="row">
<queue name="${row.name}">
<stats size="${row.queueSize}" consumerCount="${row.consumerCount}" enqueueCount="${row.enqueueCount}" dequeueCount="${row.dequeueCount}"/>
<stats size="${row.destinationStatistics.messages.count}"
consumerCount="${row.destinationStatistics.consumers.count}"
enqueueCount="${row.destinationStatistics.enqueues.count}"
dequeueCount="${row.destinationStatistics.dequeues.count}"/>
<feed>
<atom><c:url value="queueBrowse/${row.name}?view=rss&amp;feedType=atom_1.0"/></atom>