Testing JMS connectivity and capability
After you integrate Pega Platform as a Java Messaging Service (JMS) publisher or receiver, you can test the Pega Platform JMS capabilities through JMS-related forms. You can test JMS messaging whether Pega Platform acts as the publisher or receiver client.
- Test connectivity of the JNDI server used in your JMS model.
- In the navigation pane of Dev Studio, click and reopen the JNDI server you created.
- If you use an external or internal JNDI server for your JMS resource, reference the JNDI server environment information in the Initial Context Factory and Provider URL.
- Restart the environment.For Pega Cloud, you request a restart of your environment in My Support Portal.
- In the navigation pane of Dev Studio, click and reopen the JNDI server you created again.
- Click Test connectivity.
- In the Connection status page, confirm the results and values of the connections to the JNDI server.
- Send a test message from Pega Platform to your receiver
destination.
- In the navigation pane of Dev Studio, click and reopen the JNDI server you created.
- Click JMS explorer.
- In the Connection status page, confirm the results and values of the connections to the JNDI server.
- In the Destination field, enter the queue or topic that you use in your JMS model.
- Click Put Messages.
- Optional: To identify the message, in the Correlation ID field, enter a unique identifier.
- To override the order that your application uses to send a JMS message, in the Priority field, enter a value from 0 (lowest priority) to 9 (highest priority).
- To specify what kind of message you want to send, in the Message Type list, select the type of message.
- To receive a reply receipt, in the Reply To Queue Name, enter the name of the destination to receive a reply receipt.
- Optional: To include any additional property headers in the JMS message, in the Property Name field, enter your headers.
- In the Message Data field, enter the test message that you want to send to your destination.
- Click Submit.
- In the JMS Message section of the result window, confirm that the JMS message is sent.
- In your JMS model destination queue, confirm that the message Pega Platform sent to your queue has been received.
- View all of the artifacts associated with the JNDI server of your JMS data
model.
- In the navigation pane of Dev Studio, click and reopen the JNDI server you created.
- Click Browse tree.
- View all the artifacts that are associated with your JNDI server that form your JMS data model.
- View messages that you send to a destination.
- In the navigation pane of Dev Studio, click and reopen the Connect JMS rule you created.
- In the Response section, select the destination name of your JMS model queue or topic.
- Click Message Queue.
- In the result window, view any message that you sent to the destination.
Previous topic Configuring Pega Platform as a JMS publisher Next topic Configuring Pega Platform as a Java Messaging Service receiver