<%-- 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. --%>

This portlet is used to create and remove queues/topics.

Add Queue/Topic

To create a queue/topic click on the "Add Queue/Topic" link. This link brings up a form that allows the user to add a queue or a topic. Fill in the text boxes on the form and click on the "Submit" button. The fields and buttons on the form are defined as follows:

Message Destination Name The name of the queue or topic. This is the name used in the admin object gbean name and is linked to by <message-destination-link> in the geronimo-web.xml plan.
Destination Physical Name The name of the connection factory that ActiveMQ knows about.
Type The type of message, either queue or topic.
Application Name This is the "configID" in the geronimo-web.xml file. Or this can be set to the string "null" if the admin object is deployed stand-alone. By default this field contains the string "null."
Module Name If the module is deployed stand-alone this field is the "configID" in the geronimo-web.xml file. If it is deployed in an application (ear) this field should be the path of the module inside the ear, such as, myResourceAdapter.rar. By default this field contains "defaultJMS."
Creates new queue or topic and returns the user to the JMS Destination Manager main page.
Clears all fields and resets them to the defaults.
Returns the user to the "JMS Destination Manager" main page without adding a queue or a topic.

On the main JMS Destination Manager pane, there is an "Actions" column that provides three actions which can be performed on a queue or topic. To remove a queue or topic, click on the "remove" link to the right of the queue/topic to be removed. To view a message, click on the "view messages" link to the right of the queue/topic. To view the dead letter queue, click on the "view DLQ" link.

Note: Queues/Topics with no messages will be removed after restarting the server.