Sha256: a82131ec9ef16ecbf20a442a960df92d047515ceaf313fc16fe0c795e97f19df

Contents?: true

Size: 1.27 KB

Versions: 1

Compression:

Stored size: 1.27 KB

Contents

<%--
    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.
--%>
<%@ attribute name="var" type="java.lang.String" required="true"  %>
<%@ attribute name="queueBrowser" type="javax.jms.QueueBrowser" required="true"  %>
<%@ tag import="java.util.Enumeration" %>
<%@ tag import="javax.jms.Message" %>
<%

	Enumeration iter = queueBrowser.getEnumeration();
	while (iter.hasMoreElements()) {
	    Message message = (Message) iter.nextElement();
	    if (message != null) {
	    		request.setAttribute(var, message);
%>
<jsp:doBody/>
<%
			}
	}
%>       
    

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jruby-activemq-5.5.1-java apache-activemq-5.5.1/webapps/admin/WEB-INF/tags/jms/forEachMessage.tag