According to forum thread: http://hermesjms.com/forum/viewtopic.php?f=15&t=658
HermesJMS should offer
to define JMS header fields and values which are passed together with an actual XML payload to the MessageBroker
I would like to make the following requirements and suggestions:
1.) A new submenu item "Messages->Send TextMessages with Headers" should be added.
2.) A dialog window opens with a view similar to the "Preferences" dialog (see snapshot
3.) The shown keys in the snapshot should be replaced by all available JMS header fields
4.) For JMS headers where only certain values are allowed (e.g.persistent vs. non-persistent; priority) the allowed
values should be put into a drop-down box
5.) To be able to generate unique MessageIds, CorrelationIDs and Timestamps a placeholder "<timestamp>"
should be available.
When the user specifies for the "JMSCorrelationID" a value of "HermesJMS-<timestamp> then timestamp should
be replace at the time of sending by the current timestamp possibly in format yyyymmdd-hhmmssSSS with milliseconds.
This ensures a unique id.
Same with JMSmessageID.
The Timestamp entry field should be uneditable with <timestamp> which is later converted to the number of
6.) Below all default JMS header fields some more empty entry lines for user defined Properties should
be offered. The user can enter then a keyname and the value e.g.
7.) below the table an entry field and "browse" button should be put which leads to the file open dialog
to select the actual payload message (just as under the old "Send TextMessage" )
8.) At the bottom 3 buttons should be offered with obvious meanings:
SAVE as XML encoded Message
"Save" should automatically save the current JMS header values as defaults to hermes-config.xml