git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@931552 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Bosanac Dejan 2010-04-07 13:55:14 +00:00
parent 140f8e0322
commit 2895197d0d
4 changed files with 43 additions and 40 deletions

View File

@ -178,6 +178,9 @@ public class SendMessage extends DestinationFacade implements Controller {
for (Iterator iter = map.entrySet().iterator(); iter.hasNext();) { for (Iterator iter = map.entrySet().iterator(); iter.hasNext();) {
Map.Entry entry = (Map.Entry) iter.next(); Map.Entry entry = (Map.Entry) iter.next();
String name = (String) entry.getKey(); String name = (String) entry.getKey();
if (name.equals("secret")) {
continue;
}
Object value = entry.getValue(); Object value = entry.getValue();
if (isValidPropertyName(name)) { if (isValidPropertyName(name)) {
if (value instanceof String[]) { if (value instanceof String[]) {

View File

@ -41,13 +41,13 @@
<tr> <tr>
<td><a href="message.jsp?id=${row.JMSMessageID}&JMSDestination=<c:out value="${requestContext.queueBrowser.JMSDestination}" />" <td><a href="message.jsp?id=${row.JMSMessageID}&JMSDestination=<c:out value="${requestContext.queueBrowser.JMSDestination}" />"
title="${row.properties}">${row.JMSMessageID}</a></td> title="${row.properties}">${row.JMSMessageID}</a></td>
<td>${row.JMSCorrelationID}</td> <td><c:out value="${row.JMSCorrelationID}"/></td>
<td><jms:persistent message="${row}"/></td> <td><jms:persistent message="${row}"/></td>
<td>${row.JMSPriority}</td> <td><c:out value="${row.JMSPriority}"/></td>
<td>${row.JMSRedelivered}</td> <td><c:out value="${row.JMSRedelivered}"/></td>
<td>${row.JMSReplyTo}</td> <td><c:out value="${row.JMSReplyTo}"/></td>
<td><jms:formatTimestamp timestamp="${row.JMSTimestamp}"/></td> <td><jms:formatTimestamp timestamp="${row.JMSTimestamp}"/></td>
<td>${row.JMSType}</td> <td><c:out value="${row.JMSType}"/></td>
<td> <td>
<a href="deleteMessage.action?JMSDestination=<c:out value="${row.JMSDestination}"/>&messageId=${row.JMSMessageID}&secret=<c:out value='${sessionScope["secret"]}'/>">Delete</a> <a href="deleteMessage.action?JMSDestination=<c:out value="${row.JMSDestination}"/>&messageId=${row.JMSMessageID}&secret=<c:out value='${sessionScope["secret"]}'/>">Delete</a>
</td> </td>

View File

@ -17,7 +17,7 @@
<html> <html>
<head> <head>
<c:set var="row" value="${requestContext.connectionQuery.connection}"/> <c:set var="row" value="${requestContext.connectionQuery.connection}"/>
<title>Connection ${requestContext.connectionQuery.connectionID}</title> <title>Connection <c:out value="${requestContext.connectionQuery.connectionID}" /></title>
</head> </head>
<body> <body>
@ -26,40 +26,40 @@
<c:when test="${empty row}"> <c:when test="${empty row}">
<div> <div>
No connection could be found for ID ${requestContext.connectionQuery.connectionID} No connection could be found for ID <c:out value="${requestContext.connectionQuery.connectionID}" />
</div> </div>
</c:when> </c:when>
<c:otherwise> <c:otherwise>
<h2>Connection ${requestContext.connectionQuery.connectionID}</h2> <h2>Connection <c:out value="${requestContext.connectionQuery.connectionID}" /></h2>
<table id="header" class="sortable autostripe"> <table id="header" class="sortable autostripe">
<tbody> <tbody>
<tr> <tr>
<td class="label" title="Unique ID for this connection">Connection ID</td> <td class="label" title="Unique ID for this connection">Connection ID</td>
<td>${requestContext.connectionQuery.connectionID}</td> <td><c:out value="${requestContext.connectionQuery.connectionID}" /></td>
</tr> </tr>
<tr> <tr>
<td class="label" tite="Hostname and port of the connected party">Remote Address</td> <td class="label" tite="Hostname and port of the connected party">Remote Address</td>
<td>${row.remoteAddress}</td> <td><c:out value="${row.remoteAddress}" /></td>
</tr> </tr>
<tr> <tr>
<td class="label">Active</td> <td class="label">Active</td>
<td>${row.active}</td> <td><c:out value="${row.active}" /></td>
</tr> </tr>
<tr> <tr>
<td class="label">Connected</td> <td class="label">Connected</td>
<td>${row.connected}</td> <td><c:out value="${row.connected}" /></td>
</tr> </tr>
<tr> <tr>
<td class="label">Blocked</td> <td class="label">Blocked</td>
<td>${row.blocked}</td> <td><c:out value="${row.blocked}" /></td>
</tr> </tr>
<tr> <tr>
<td class="label">Slow</td> <td class="label">Slow</td>
<td>${row.slow}</td> <td><c:out value="${row.slow}" /></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
@ -96,29 +96,29 @@ No connection could be found for ID ${requestContext.connectionQuery.connectionI
<td> <td>
<c:choose> <c:choose>
<c:when test="${consumer.destinationQueue}"> <c:when test="${consumer.destinationQueue}">
Queue <a href="browse.jsp?JMSDestination=${consumer.destinationName}">${consumer.destinationName}</a> Queue <a href="browse.jsp?JMSDestination=${consumer.destinationName}"><c:out value="${consumer.destinationName}" /></a>
</c:when> </c:when>
<c:when test="${consumer.destinationTopic}"> <c:when test="${consumer.destinationTopic}">
Topic <a href="send.jsp?JMSDestination=${consumer.destinationName}">${consumer.destinationName}</a> Topic <a href="send.jsp?JMSDestination=${consumer.destinationName}"><c:out value="${consumer.destinationName}" /></a>
</c:when> </c:when>
<c:otherwise> <c:otherwise>
${consumer.destinationName} <c:out value="${consumer.destinationName}" />
</c:otherwise> </c:otherwise>
</c:choose> </c:choose>
</td> </td>
<td>${consumer.sessionId}</td> <td><c:out value="${consumer.sessionId}" /></td>
<td>${consumer.selector}</td> <td><c:out value="${consumer.selector}" /></td>
<td>${consumer.enqueueCounter}</td> <td><c:out value="${consumer.enqueueCounter}" /></td>
<td>${consumer.dequeueCounter}</td> <td><c:out value="${consumer.dequeueCounter}" /></td>
<td>${consumer.dispachedCounter}</td> <td><c:out value="${consumer.dispachedCounter}" /></td>
<td>${consumer.dispatchedQueueSize}</td> <td><c:out value="${consumer.dispatchedQueueSize}" /></td>
<td> <td>
${consumer.prefetchSize}<br/> <c:out value="${consumer.prefetchSize}" /><br/>
${consumer.maximumPendingMessageLimit} <c:out value="${consumer.maximumPendingMessageLimit}" />
</td> </td>
<td> <td>
${consumer.exclusive}<br/> <c:out value="${consumer.exclusive}" /><br/>
${consumer.retroactive} <c:out value="${consumer.retroactive}" />
</td> </td>
</tr> </tr>
</c:forEach> </c:forEach>

View File

@ -17,7 +17,7 @@
<html> <html>
<head> <head>
<c:set var="row" value="${requestContext.messageQuery.message}"/> <c:set var="row" value="${requestContext.messageQuery.message}"/>
<title>Message ${requestContext.messageQuery.id}</title> <title>Message <c:out value="${requestContext.messageQuery.id}"/></title>
</head> </head>
<body> <body>
@ -26,7 +26,7 @@
<c:when test="${empty row}"> <c:when test="${empty row}">
<div> <div>
No message could be found for ID ${requestContext.messageQuery.id} No message could be found for ID <c:out value="${requestContext.messageQuery.id}"/>
</div> </div>
</c:when> </c:when>
@ -47,7 +47,7 @@ No message could be found for ID ${requestContext.messageQuery.id}
<tbody> <tbody>
<tr> <tr>
<td class="label" title="Unique Message ID for this message">Message ID</td> <td class="label" title="Unique Message ID for this message">Message ID</td>
<td>${row.JMSMessageID}</td> <td><c:out value="${row.JMSMessageID}"/></td>
</tr> </tr>
<tr> <tr>
<td class="label">Destination</td> <td class="label">Destination</td>
@ -55,19 +55,19 @@ No message could be found for ID ${requestContext.messageQuery.id}
</tr> </tr>
<tr> <tr>
<td class="label" title="The ID used to correlate messages together in a conversation">Correlation ID</td> <td class="label" title="The ID used to correlate messages together in a conversation">Correlation ID</td>
<td>${row.JMSCorrelationID}</td> <td><c:out value="${row.JMSCorrelationID}"/></td>
</tr> </tr>
<tr> <tr>
<td class="label" title="Message Group Identifier">Group</td> <td class="label" title="Message Group Identifier">Group</td>
<td>${row.groupID}</td> <td><c:out value="${row.groupID}"/></td>
</tr> </tr>
<tr> <tr>
<td class="label" title="Message Group Sequence Number">Sequence</td> <td class="label" title="Message Group Sequence Number">Sequence</td>
<td>${row.groupSequence}</td> <td><c:out value="${row.groupSequence}"/></td>
</tr> </tr>
<tr> <tr>
<td class="label">Expiration</td> <td class="label">Expiration</td>
<td>${row.JMSExpiration}</td> <td><c:out value="${row.JMSExpiration}"/></td>
</tr> </tr>
<tr> <tr>
<td class="label">Persistence</td> <td class="label">Persistence</td>
@ -75,15 +75,15 @@ No message could be found for ID ${requestContext.messageQuery.id}
</tr> </tr>
<tr> <tr>
<td class="label">Priority</td> <td class="label">Priority</td>
<td>${row.JMSPriority}</td> <td><c:out value="${row.JMSPriority}"/></td>
</tr> </tr>
<tr> <tr>
<td class="label">Redelivered</td> <td class="label">Redelivered</td>
<td>${row.JMSRedelivered}</td> <td><c:out value="${row.JMSRedelivered}"/></td>
</tr> </tr>
<tr> <tr>
<td class="label">Reply To</td> <td class="label">Reply To</td>
<td>${row.JMSReplyTo}</td> <td><c:out value="${row.JMSReplyTo}"/></td>
</tr> </tr>
<tr> <tr>
<td class="label">Timestamp</td> <td class="label">Timestamp</td>
@ -91,7 +91,7 @@ No message could be found for ID ${requestContext.messageQuery.id}
</tr> </tr>
<tr> <tr>
<td class="label">Type</td> <td class="label">Type</td>
<td>${row.JMSType}</td> <td><c:out value="${row.JMSType}"/></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
@ -109,8 +109,8 @@ No message could be found for ID ${requestContext.messageQuery.id}
<tbody> <tbody>
<form:forEachMapEntry items="${requestContext.messageQuery.propertiesMap}" var="prop"> <form:forEachMapEntry items="${requestContext.messageQuery.propertiesMap}" var="prop">
<tr> <tr>
<td class="label">${prop.key}</td> <td class="label"><c:out value="${prop.key}"/></td>
<td>${prop.value}</td> <td><c:out value="${prop.value}"/></td>
</tr> </tr>
<tr> <tr>
</form:forEachMapEntry> </form:forEachMapEntry>