Skip navigation

Sending a Message

You can send a message to a queue or publish one to a topic. Simply select the queue or topic in the tree and click the new message icon in the toolbar or right click and select New->Message. The following dialog lets you create a new message and will also appear if you drop a single message from any destination onto another one:

The dialog is not modal so you can still use the rest of Hermes and clicking OK does not close the dialog after sending the message, letting you send a message again after some editing.

The dialog has three tabs, one to let you edit the JMS header, one for user header properties and finally one for the payload. You can set all the editable header properties - JMSMessageID and JMSTimestamp are not editable as they are set by the provider when you send the message.

This tab lets you set any user header properties:

Hermes supports editing of TextMessage, MapMessage and BytesMessage JMS message types and the editing of ObjectMessage header properties.

TextMessage

You can edit the message in place or upload the contents of a file.

MapMessage

You can set all the different types of header property.

BytesMessage

This is not editable via the GUI however you can insert a file as binary.

ObjectMessage

The payload is not editable in any way however you can edit the header properties.

Any objects serialised must have their class files available to Hermes in the $HERMES_HOME/lib directory.

Adaptavist Theme Builder Powered by Atlassian Confluence