activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r788352 - in /activemq/trunk/activemq-web-console/src/main/webapp: decorators/main.jsp xml/topics.jsp
Date Thu, 25 Jun 2009 13:29:20 GMT
Author: tabish
Date: Thu Jun 25 13:29:20 2009
New Revision: 788352

URL: http://svn.apache.org/viewvc?rev=788352&view=rev
Log:
Apply patch for: https://issues.apache.org/activemq/browse/AMQ-2304

Added:
    activemq/trunk/activemq-web-console/src/main/webapp/xml/topics.jsp   (with props)
Modified:
    activemq/trunk/activemq-web-console/src/main/webapp/decorators/main.jsp

Modified: activemq/trunk/activemq-web-console/src/main/webapp/decorators/main.jsp
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-web-console/src/main/webapp/decorators/main.jsp?rev=788352&r1=788351&r2=788352&view=diff
==============================================================================
--- activemq/trunk/activemq-web-console/src/main/webapp/decorators/main.jsp (original)
+++ activemq/trunk/activemq-web-console/src/main/webapp/decorators/main.jsp Thu Jun 25 13:29:20
2009
@@ -6,9 +6,9 @@
     The ASF licenses this file to You under the Apache License, Version 2.0
     (the "License"); you may not use this file except in compliance with
     the License.  You may obtain a copy of the License at
-   
+
     http://www.apache.org/licenses/LICENSE-2.0
-   
+
     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -35,7 +35,7 @@
 </head>
 
 <body>
-                                                
+
 
 <div class="white_box">
     <div class="header">
@@ -105,6 +105,14 @@
                                                     <li><a href="queueGraph.jsp"
title="View the queue depths as a graph">Graph</a></li>
                                                     <li><a href="xml/queues.jsp"
title="View the queues as XML">XML</a></li>
                                                 </ul>
+                                                <H3>Topic Views</H3>
+
+                                                <ul class="alternate" type="square">
+
+
+
+                                                    <li><a href="xml/topics.jsp"
title="View the topics as XML">XML</a></li>
+                                                </ul>
                                                 <H3>Useful Links</H3>
 
                                                 <ul class="alternate" type="square">
@@ -148,4 +156,4 @@
 
 </body>
 </html>
-	
+

Added: activemq/trunk/activemq-web-console/src/main/webapp/xml/topics.jsp
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-web-console/src/main/webapp/xml/topics.jsp?rev=788352&view=auto
==============================================================================
--- activemq/trunk/activemq-web-console/src/main/webapp/xml/topics.jsp (added)
+++ activemq/trunk/activemq-web-console/src/main/webapp/xml/topics.jsp Thu Jun 25 13:29:20
2009
@@ -0,0 +1,29 @@
+<%@ page contentType="text/xml;charset=ISO-8859-1"%>
+<%--
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+   
+    http://www.apache.org/licenses/LICENSE-2.0
+   
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+--%>
+<topics>
+<c:forEach items="${requestContext.brokerQuery.topics}" var="row">
+<topic name="${row.name}">
+
+  <stats size="${row.queueSize}"
+         consumerCount="${row.consumerCount}"
+         enqueueCount="${row.enqueueCount}"
+         dequeueCount="${row.dequeueCount}"/>
+
+</topic>
+</c:forEach>
+</topics>

Propchange: activemq/trunk/activemq-web-console/src/main/webapp/xml/topics.jsp
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message