Links may not function; however, this content may be relevant to outdated versions of the product.
How to debug JMS connectors using BROWSE, PUT and GET message operations
Summary
In the process of constructing an JMS connection, it can be beneficial to put and remove items into the queue. This ability enhances the development and debugging of integration services.
JNDI Server instances, JMS listener instances, and JMS MDB listener instances all have the ability to browse, put, and remove queue items from both the request and response queues.
Suggested Approach
Depending on which rule form you are viewing, access to the request or response queue will differ.
JNDI Server Form
On the Environment tab of the JNDI form, click the JMS Explorer button.
After the JMS Explorer is clicked, the JMS Connection Details window appears. Complete the Connection Factory and Destination fields, then press:
- Browse Messages to view messages in the queue.
- Put Messages to place messages into the queue.
- Remove Messages to remove messages from the queue.
- Close to close the JMS Connection Details window.
JMS Listener Form
On the JMS Properties tab of the JMS Listener form, click the magnifying glass icon next to the Request Destination Name field to view the Request queue, or the Response Destination Name field to view the Response queue.
JMS MDB Listener Form
On theJMS Properties tab of the JMS MDB Listener form, click the magnifying glass icon next to the Response Destination Name field to view the Response queue.
The JMS Explorer
If the JMS Explorer is opened from an JMS Server instance, you will be prompted to enter the Queue Manager and Queue Name you would like to browse, put messages to, or delete messages from.
If you opened the JMS Explorer from an JMS Listener or JMS MDB Listener form, the queue specified in the form will automatically be used.
To put a message on the queue, click the Put Messages button.
You have the option of completing the Message Header fields, Message Properties fields and Message Data field. The Message Data field must be completed to submit the message. Click the Submit button to add the message to the queue.
Once the message is in the queue, click it for a more detailed view. To delete a message select the check box on the left side of the row and click the Remove Messages button.