Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

This content has been archived and is no longer being updated.

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

Updated on October 28, 2020

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.

JNDI Server

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 Listener

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.

JMS MDB Listener

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.
explorer

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.

add

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.

 

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us