More about Connect JMS rules

Calling activity

To start a JMS connection and execute a JMS connector rule, create an activity that:

  1. Creates a named page that is the source and destination of data mapping.
  2. Opens the JMS connector rule on a named page of a Rule-Connect-JMS class.
  3. Using that page as a step page, calls the Connect-JMS method.
  4. Examines the status properties returned by the connector.

If this activity is in a class derived from the Work- base class, you can set the Activity Type to Connect and reference the activity in a flow rule.

Performance Statistics

For information on gathering performance information about this connector see Testing Services and Connectors on Pega Community.

Debugging

To test a Connect JMS rule, use the JMS Explorer button on the Environment tab of the JNDI Server form. For an example, see the Pega Community article How to debug JMS connectors using BROWSE, PUT and GET message operations.

Simulation and testing

To debug your application, you can simulate a JMS connector when the external system is unavailable or lacks a test setup.

For more information on testing connectors, see Testing Services and Connectors on Pega Community.