You can use Enterprise Manager to manage Sun Java Message Service Grid (JMS Grid) at runtime.
Enterprise Manager provides a unified management environment for Sun JMS IQ Manager, Sun Java System Message Queue, and Sun Java Message Service Grid (JMS Grid). However, the level of monitoring and management capabilities supported vary for the different message servers.
For basic information about Enterprise Manager, see Enterprise Manager Basics.
If the Project node in the left panel represents an application that uses JMS Grid destinations, then the Project node contains a subnode for each destination (for example, Queue1 and Queue2).
You can use many of Enterprise Manager’s queue management options on the queues utilized by an application deployed in a server. This section describes these options and their level of support.
The top right panel displays information about the selected queue.
Table 1–3 Queue Tab - Columns
Column Name |
Description |
---|---|
Queue Name |
The name of the queue. |
Min Sequence Number |
JMS Grid does not use sequence numbers, so this column always displays the value zero (0). |
Max Sequence Number |
JMS Grid does not use sequence numbers, so this column always displays the value zero (0). |
Available Count |
The number of unprocessed messages in the queue. |
Number of Receivers |
The number of receivers for this queue. |
Last Published Date/Time |
The date and timestamp of the most recent message currently available in the queue. If no messages are available, this column shows the last publication date and time of the last message. |
You can list the messages in a queue in the bottom right panel.
The following table describes the columns in the Messages tab.
Table 1–4 Message Tab Columns
Property Name |
Description |
---|---|
Sequence Number |
The values in this column are hash values generated from the message ID and do not have meaning for JMS Grid. |
Message ID |
The unique identification number for the message. |
Status |
Indicates whether the message is unread. |
Message Size |
The size of the message including the JMS header (in bytes). |
Delivery Mode |
Indicates whether the message is persistent or nonpersistent. |
Priority |
The priority of the message from 0 to 9, with 9 as the highest priority. |
Sent On |
The day, date, and time when the message was received. |
The bottom right panel includes the following buttons:
The Send a Message button enables you to publish a new message. The message can only be of type text. You can specify the time to live, priority, and delivery mode.
The View/Edit button enables you to view message content. However, you cannot edit message content in this release.
The Properties button enables you to view message properties. However, some properties might not be available in this release.
The Select All button enables you to select all of the messages. The Select None button enables you to deselect all of the messages.
The Delete button enables you to delete the selected messages.
The Show Journaled button is not used for JMS Grid.
The paging feature is not supported in this release. However, if you refresh the view, the list changes as messages are consumed and new messages are received.
Enterprise Manager allows you to see an application’s topics in the left panel in a similar way to that illustrated for queues. The top right panel displays information about the selected topic.
Table 1–5 Topics Tab - Columns
Column Name |
Description |
---|---|
Topic Name |
The name of the topic. |
Min Sequence Number |
JMS Grid does not use sequence numbers, so this column always displays the value zero (0). |
Max Sequence Number |
JMS Grid does not use sequence numbers, so this column always displays the value zero (0). |
Available Count |
The number of unprocessed messages in this topic. This value represents the number of messages which have not been consumed by any subscriber to the topic. |
Current Subscribers |
The number of subscribers who are actively consuming from the topic. |
Last Published Date/Time |
The date and timestamp of the most recent message currently available in the topic. If no messages are available, this column shows the last publication date and time of the last message. |
You can list the messages in a topic in the bottom right panel just as for queues. The column meanings for topics are the same as for queues. The messages might not be displayed in the order in which they were sent, as shown in the Sent On column.
This panel also has several buttons, whose functions are the same as for topics.