Skip navigation


Browsing Queues and Topics

Either right click on a queue or topic in the session tree and select Browse, double click on it or click in the main toolbar and a browse will start. For a queue Hermes will use a JMS QueueBrowser however for a topic Hermes will keep reading messages from the topic without acknowledging them.

Topics in red are durable subscriptions and show the durable name next to the topic name.

The Message Toolbar

Once you have some messages from a browse, the actions in the message toolbar are enabled.

Action Description
Move to the previous message.
Move to the next message.
Refresh the content.
Turn on auto-refresh. The period can be set in the General preferences dialog.
Turn off auto-refresh.
Delete the selected messages on the queue.
Cut the selected messages to the clipboard and delete from the queue.
Copy the selected messages to the clipboard.
Paste any messages from the clipboard to this queue/topic.
Save any selected text messages as separate files.
Save all selected messages as a single XML document.
Save all selected messages as separate XML documents.
Toggles the JMSDeliveryMode applied to messages sent between PERSISTENT and NON_PERSISTENT}

Seaching for Messages.

With a regular expression or string you can seach through all the messages on a single destination or all the configured destinations on a session. Right click on a session or destination and select Search Search or click on the same icon in the main toolbar.

Hermes searches:

  • All the user message header property names and values.
  • The text in a TextMessage.
  • The result of calling toString on any object in an ObjectMessage
  • All the keys and values in a MapMessage

Filtering

Once you've browsed a queue or topic it is possible to perform a local search, i.e. applying an SQL92 filter on the messages cached in Hermes without browsing again. At the bottom of the browse panel is a filter panel where you can type in the filter, save and delete them.

Destination Properties

Right clicking on a queue or topic and selectig "Edit" displays the destinations properties:

This lets you edit several properties:

Property Description
Name The name of the queue, topic or the binding in JNDI to locate it
ShortName An alternative name to display
Selector A selector to use
Domain The domain, i.e. whether its a queue or a topic
Durable Whether the topic is a durable subscription
DurableName The durable subscription name
Username An alternative user to authenticate with that overrides the one set on the connections configuration
Password The password to use with the alternative username

Destination Statistics

Right clicking on a queue or topic you can select (or use the same icon in the main toolbar). This uses a plugin if available to get some provider specific statistics, the following example shows WebSphereMQ.

Adaptavist Theme Builder Powered by Atlassian Confluence