This section will describe how to snoop a Universal Messaging queue. Each queue that is created consists of a physical object within the Universal Messaging realm as well as its logical reference within the namespace.
Snooping a queue allows you to view the events contained on a queue. Each queue node in the namespace tree of a Universal Messaging realm, when selected, displays a snoop panel that provides you with a means of browsing the queue and present the events on the queue in a graphical panel.
You can also provide a filter that enables you to select specific events that match a certain criteria.
First of all, by selecting the queue you wish to snoop in the namespace tree, the Enterprise Manager will display a number of panels in a tabbed pane. One of these tabs is labelled 'Snoop'. Selecting the snoop tab will display a panel like the one shown in the image below.
The snoop panel is split up into a number of different sections. Firstly, the 3 text fields at the top of the panel allow you enter an event id range to and from, and a selector string that will be used to filter events being snooped on the queue. For queues, the event id ranges are disabled. Clicking the 'Start' button will begin the queue snoop, and start displaying any events that are published onto the queue using whatever values you have input into the text fields.
When events are published, they are added to the main table below the text field input. This main table shows 4 columns of basic information about each event: the event id, event tag, time to live, and whether the event is persistent. By clicking on any event shown as a row in the main table, more information on the event is shown in the bottom 3 panels. As shown in the image below.
The top 2 remaining panels show a Hexidecimal view of the event data and an ASCII representation of the same event data. The panel below that shows the contents of the event properties (if one exists for the event) listed within a table. Each property is displayed as a row in the table. The table columns show the name of the property, the type, and the value.
The button labelled 'Pause' will temporarily suspend receipt of any new message being received into the snoop panel for the selected queue. The 'Stop' button will stop snooping events and clear all the panels and tables.
Channels can also be snooped using the snoop panel (see Channel Snoop