From 4ce744b16b79897c5c31ad2cad61dd0ed6d5e839 Mon Sep 17 00:00:00 2001 From: James Strachan Date: Tue, 22 Aug 2006 15:46:25 +0000 Subject: [PATCH] added an XML view of the queue statistics on the web console so folks can slurp up the XML in any old scripting language and write their own alert monitoring stuff git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@433678 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/webapp/WEB-INF/decorators.xml | 42 ++++++++++--------- .../src/main/webapp/queues.jsp | 4 +- .../src/main/webapp/xml/queues.jsp | 30 +++++++++++++ 3 files changed, 56 insertions(+), 20 deletions(-) create mode 100644 activemq-web-console/src/main/webapp/xml/queues.jsp diff --git a/activemq-web-console/src/main/webapp/WEB-INF/decorators.xml b/activemq-web-console/src/main/webapp/WEB-INF/decorators.xml index c880acafd9..b350d84166 100644 --- a/activemq-web-console/src/main/webapp/WEB-INF/decorators.xml +++ b/activemq-web-console/src/main/webapp/WEB-INF/decorators.xml @@ -1,26 +1,30 @@ - - /* - + + /xml/* + - - + + /* + + + + diff --git a/activemq-web-console/src/main/webapp/queues.jsp b/activemq-web-console/src/main/webapp/queues.jsp index 0d5dab32be..01cf601ef1 100644 --- a/activemq-web-console/src/main/webapp/queues.jsp +++ b/activemq-web-console/src/main/webapp/queues.jsp @@ -33,8 +33,10 @@

Queues

+

Queue Graph - +Queue XML +

diff --git a/activemq-web-console/src/main/webapp/xml/queues.jsp b/activemq-web-console/src/main/webapp/xml/queues.jsp new file mode 100644 index 0000000000..455cff6e3e --- /dev/null +++ b/activemq-web-console/src/main/webapp/xml/queues.jsp @@ -0,0 +1,30 @@ +<%@ 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. +--%> + + + + + + + + + + + + +