Skip to content
Permalink
Browse files

AMQ-5976: Filter queues by name in admin webconsole. Thanks to Franco…

…is Chartier for the patch. This closes #144.
  • Loading branch information...
davsclaus committed Nov 29, 2016
1 parent f888cc2 commit 0b767fcb0c622810c01e54bd51bc9680e36f81f5
Showing with 19 additions and 1 deletion.
  1. +19 −1 activemq-web-console/src/main/webapp/queues.jsp
@@ -24,6 +24,9 @@

<%@include file="decorators/header.jsp" %>

<table>
<tr>
<td>
<div>
<form action="createDestination.action" method="post">
<input type="hidden" name="JMSDestinationType" value="queue"/>
@@ -35,9 +38,21 @@
<input type="submit" value="Create"/>
</form>
</div>
</td>

<td>
<div>
<form action="queues.jsp" method="get">
<label name="destination">Queue Name Filter</label>
<input type="text" name="QueueFilter" value="${param.QueueFilter}"/>

<h2>Queues</h2>
<input type="submit" value="Filter"/>
</form>
</div>
</tr>
</table>

<h2>Queues:<c:if test="${null != param.QueueFilter && param.QueueFilter != ''}"> (filter='${param.QueueFilter}')</c:if></h2>

<table id="queues" class="sortable autostripe">
<thead>
@@ -53,6 +68,7 @@
</thead>
<tbody>
<c:forEach items="${requestContext.brokerQuery.queues}" var="row">
<c:if test="${param.QueueFilter == '' || fn:containsIgnoreCase(row.name, param.QueueFilter)}">

<tr>
<td><a href="<c:url value="browse.jsp">
@@ -85,6 +101,8 @@
<c:param name="secret" value='${sessionScope["secret"]}'/></c:url>">Delete</a>
</td>
</tr>

</c:if>
</c:forEach>
</tbody>
</table>

0 comments on commit 0b767fc

Please sign in to comment.
You can’t perform that action at this time.