Este conteúdo não está disponível no idioma selecionado.
Chapter 6. Managing JMS Queues and Messages
Overview
You can create, edit, and delete message queues for JMS brokers from the ActiveMQ page of the Container perspective. You can also search for messages, move, and resend messages directly from the queue.
Creating a queue
- Connect to the container and open the ActiveMQ page.
- Select the top-level node in the tree and click the Create button in the toolbar. The details pane shows a text box and a type selector.
- Enter a name for the queue and make sure to select the Queue radio button. The queue appears in the Queue folder under the top-level node in the tree.
Managing queues and messages
When you select a queue from the Queue folder, the details pane shows a toolbar with the following options:
- Attributes
- Detailed information about the queue properties. You can click each property to show additional information about the property, such as description, type, and default value.
- Browse
- Grid view of all messages in the queue. You can select one or more messages to resend, move, or delete. You can also filter the message list according to properties such as the message ID, priority, type, custom header attributes, and message body.
- Send
- Composer window where you can create a message to send to the queue. You can format the message as JSON, plain text, Properties, or XML. You can also add header properties or choose message templates.
- Diagram
- Visual representation of broker components. You can choose to show or hide component types, such as queues, topics, profiles, or containers.
- Delete
- Options to purge or delete the queue. You can purge the queue to delete all messages without deleting the queue itself, or delete the queue including all messages and attributes.WarningDeleting and purging the queue cannot be undone.
- Operations
- List of possible operations that you can perform in the queue. To manually execute an operation, you click an operation and define parameters and conditions if exist for the operation.
- Chart
- Timeline representation of message processing in the queue. The timeline dynamically shows the message flow in real-time. You can edit the chart to determine which attributes to show in the chart.