Connect-EJB method |
C-627 03-03 Use the Connect-EJB method to invoke a connector to an external Enterprise JavaBean.
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. B-3575
This method has two parameters:
Parameter |
Description |
ServiceName |
Enter the Service Name (second key part) of a Connect EJB rule (Rule-Connect-EJB rule type). |
RunInParallel |
Select if this connector is intended to run in parallel as a child requestor of the current requestor. B-14106 If selected, use the Connect-Wait method later in the current or a follow-on activity to access results from the connector. |
The Connect-EJB method works as follows:
EJB Create()
methods or one of the Java class business methods. ABLAL 2/14/06This 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-EJB method with the RunInParallel checkbox 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 will fail as well. B-20430 TANDP 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 EJB rules Connect-Wait method R-9291 7/2/03 LACOD remote logging removed Creating Connector Simulations |