queuesMessage.jsp 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
  2. <%@include file="/commons/include/html_doctype.html" %>
  3. <%@ taglib prefix="jms" tagdir="/WEB-INF/tags/jms" %>
  4. <html>
  5. <head>
  6. <title>消息详情</title>
  7. <%@include file="/commons/include/form.jsp" %>
  8. <%-- <link href="${ctx}/styles/ligerUI/ligerui-all.css" rel="stylesheet" type="text/css" /> --%>
  9. <f:link href="Aqua/css/ligerui-all.css"></f:link>
  10. <script type="text/javascript" src="${ctx}/js/calendar/My97DatePicker/WdatePicker.js"></script>
  11. <script type="text/javascript" src="${ctx}/js/hotent/platform/system/Share.js"></script>
  12. <c:set var="row" value="${messageQuery.message}"/>
  13. </head>
  14. <body>
  15. <div class="panel">
  16. <div class="panel-top">
  17. <div class="tbar-title">
  18. <span class="tbar-label">消息详情</span>
  19. </div>
  20. <div class="panel-toolbar">
  21. <div class="toolBar">
  22. <div class="group"><a class="link back" href="list.ht"><span></span>返回</a></div>
  23. </div>
  24. </div>
  25. <div class="panel-search">
  26. <form id="searchForm" method="post" action="browse.ht">
  27. </form>
  28. </div>
  29. </div>
  30. <div class="panel-body">
  31. <form id="sysRoleForm" method="post" action="save.ht">
  32. <c:choose>
  33. <c:when test="${empty row}">
  34. <div>
  35. No message could be found for ID <c:out value="${messageQuery.id}"/>
  36. </div>
  37. </c:when>
  38. <c:otherwise>
  39. <table id="body3" class="table-detail" cellpadding="0" cellspacing="0" border="0">
  40. <tr>
  41. <th title="Unique Message ID for this message">消息ID</th>
  42. <td><c:out value="${row.JMSMessageID}"/></td>
  43. </tr>
  44. <tr>
  45. <th >目的地</th>
  46. <td>
  47. <!--form:tooltip text="${row.JMSDestination}" length="50"/ -->
  48. <c:out value="${row.JMSDestination}" />
  49. </td>
  50. </tr>
  51. <tr>
  52. <th title="The ID used to correlate messages together in a conversation">相关性ID</th>
  53. <td><c:out value="${row.JMSCorrelationID}"/></td>
  54. </tr>
  55. <tr>
  56. <th title="Message Group Identifier">消息组标志</th>
  57. <td><c:out value="${row.groupID}"/></td>
  58. </tr>
  59. <tr>
  60. <th title="Message Group Sequence Number">消息组序列号</th>
  61. <td><c:out value="${row.groupSequence}"/></td>
  62. </tr>
  63. <tr>
  64. <th>消息失效时间</th>
  65. <td><c:out value="${row.JMSExpiration}"/></td>
  66. </tr>
  67. <tr>
  68. <th>持久化</th>
  69. <td><jms:persistent message="${row}"/></td>
  70. </tr>
  71. <tr>
  72. <th title= "0的优先级最低,9最高">优先级</th>
  73. <td><c:out value="${row.JMSPriority}"/></td>
  74. </tr>
  75. <tr>
  76. <th title="带有该字段的消息通常过去发送过但是没有被确认,如果要再次发送,提供者必须设置该字段。如果true,则消息接受者必须进行消息重复处理的逻辑。">重复发送</th>
  77. <td><c:out value="${row.JMSRedelivered}"/></td>
  78. </tr>
  79. <tr>
  80. <th title="带有这样属性的消息通常是发送方希望有一个响应,这个响应是可选的。">回复消息的目的地</th>
  81. <td><c:out value="${row.JMSReplyTo}"/></td>
  82. </tr>
  83. <tr>
  84. <th>时间</th>
  85. <td><jms:formatTimestamp timestamp="${row.JMSTimestamp}"/></td>
  86. </tr>
  87. <tr>
  88. <th>类型</th>
  89. <td><c:out value="${row.JMSType}"/></td>
  90. </tr>
  91. </table>
  92. <%--
  93. <td class="layout" valign="top">
  94. <table id="properties" class="sortable autostripe">
  95. <thead>
  96. <tr>
  97. <th colspan="2">
  98. Properties
  99. </th>
  100. </tr>
  101. </thead>
  102. <tbody>
  103. <form:forEachMapEntry items="${messageQuery.propertiesMap}" var="prop">
  104. <tr>
  105. <th><c:out value="${prop.key}"/></td>
  106. <td><c:out value="${prop.value}"/></td>
  107. </tr>
  108. <tr>
  109. </form:forEachMapEntry>
  110. </tbody>
  111. </table>
  112. </td>
  113. --%>
  114. <%--
  115. <table id="body1" width="100%" class="table-detail" cellpadding="0" cellspacing="0" border="0">
  116. <thead>
  117. <tr>
  118. <th colspan="2" style="text-align:left">
  119. 消息操作
  120. </th>
  121. </tr>
  122. </thead>
  123. <tbody>
  124. <tr>
  125. <td colspan="2"><a href="deleteMessage.action?JMSDestination=<c:out value="${row.JMSDestination}" />&messageId=${row.JMSMessageID}&secret=<c:out value='${sessionScope["secret"]}'/>">Delete</a></td>
  126. </tr>
  127. <tr class="odd">
  128. <td><a href="javascript:confirmAction('queue', 'copyMessage.action?destination=%target%&JMSDestination=<c:out value="${row.JMSDestination}" />&messageId=${row.JMSMessageID}&JMSDestinationType=queue&secret=<c:out value='${sessionScope["secret"]}'/>')">Copy</a></td>
  129. <td rowspan="2">
  130. <select id="queue">
  131. <option value=""> -- Please select --</option>
  132. <c:forEach items="${requestContext.brokerQuery.queues}" var="queues">
  133. <c:if test="${queues.name != requestContext.messageQuery.JMSDestination}">
  134. <option value="<c:out value="${queues.name}" />"><form:short text="${queues.name}" length="80"/></option>
  135. </c:if>
  136. </c:forEach>
  137. </select>
  138. </td>
  139. </tr>
  140. <tr class="odd">
  141. <td><a href="javascript:confirmAction('queue', 'moveMessage.action?destination=%target%&JMSDestination=<c:out value="${row.JMSDestination}" />&messageId=${row.JMSMessageID}&JMSDestinationType=queue&secret=<c:out value='${sessionScope["secret"]}'/>')">Move</a></td>
  142. </tr>
  143. </tbody>
  144. </table>
  145. --%>
  146. <table id="body2" width="100%" class="table-detail" cellpadding="0" cellspacing="0" border="0">
  147. <thead>
  148. <tr>
  149. <th style="text-align:left">
  150. 消息详情
  151. </th>
  152. </tr>
  153. </thead>
  154. <tbody>
  155. <tr>
  156. <td><div class="message"><pre class="prettyprint"><c:out value="${messageQuery.body}"/></pre></div></td>
  157. </tr>
  158. </tbody>
  159. </table>
  160. </c:otherwise>
  161. </c:choose>
  162. </form>
  163. </div>
  164. </div>
  165. </body>
  166. </html>