Connect-JMS method |
Use the Connect-JMS method to send a JMS message to an external system using the Java Message Service application programmer interface.
This method operates on a named clipboard page that is the source and destination of data mappings. Make sure the Step Page column that calls this method contains the non-blank name of such a page.
This method has two parameters:
Parameter |
Description |
ServiceName |
Enter the Service Name (second key part) of a Connect JMS rule (Rule-Connect-JMS rule type). The system uses the class of the step page as the first key part. |
RunInParallel |
Select if this connector is intended to run in parallel as a child requestor of the current requestor. If selected, use the Connect-Wait method later in the current or a follow-on activity to access results from the connector. |
The Connect-JMS method works as follows:
This method updates the pxMethodStatus property. See How to test method results using a transition.
Design the activity to detect and handle exceptions. If the Connect-JMS method with the RunInParallel check box selected fails in a way that causes the Connect-Wait method to be skipped, the child requestor can be left hanging. If the limit of parallel requestors is then eventually reached, the parent requestor fails as well. By default, the limit is 10 requestors in parallel; you can establish a higher or lower value in the prconfig.xml
file or Dynamic System Settings using the services/maxRequestorChildren
setting.
About Connect JMS rules
Creating Connector Simulations Connect-Wait method How to detect long-running connectors |