1.2 Dealing with Messages - jmstoolbox/jmstoolbox GitHub Wiki
Type of JMS Message supported
- TextMessage: full support
- BytesMessage: full support
- MapMessage: full support
- Message: full support
- ObjectMessage: viewing, "save as template": supported if the implementation class of the Object is on the classpath (Add the jar with the class to the QM configuration). Creation, edition: only without payload
- StreamMessage: viewing: supported. Creation, edition: only without payload. "save as template": No.
Posting a Message
There a various ways to create and post a message to a destination in JMSToolBox, either:
- On a destination, use the contextual menu "Send New Message..."
- Drag & drop a message from the list of message, on a destination or on the Message Browser
- Drag & drop a template from the list of templates, on a destination or on the Message Browser
- Drag & drop a file external to JMSToolBox, on a destination or on the Message Browser
Note that individual messages are never "blindly" post to a destination, a popup will always open to let the user modify the message before posting it to the destination. When drag and dropping multiple messages to a destination, a confirmation dialog pops up.
Removing a Message from a Queue
- Select the messages(s) in the Queue message browser
- Either press the "delete" key, or use the "Remove Message" contextual menu
- Or, on the "view message" dialog, click on the "Remove" button In all cases, the user will be asked to confirm the deletion
Copying/cloning a message to another destination
- Select a messages in the message browser
- Drag it on another destination in the list of destinations on the left
- or: Drag it on the message browser itself, in this case the message will be post (duplicated) to the same queue
Saving a message as a template
There a various ways to create a template from a message, either:
- Select a messages in the message browser
- Drag it on the template browser (Bottom left)
- Or, on the "view message" dialog, click on the "Save as Template..." button