Default Rule: Java Callouts
The current behavior of a pre-Java callout or post-Java callout works in the same way as for other routing rules. For Java callouts, the default routing rule is considered another routing rule. Therefore, for the scenarios in which the default routing rule is executed, the postRouting()
callback method occurs only after the default routing rule is executed.
Note:
The post-Java callouts occur after the execution of sequential rules and do not wait for the parallel rules to complete execution. Therefore, if the default routing rule is sequential, then the postRouting()
callback method occurs after executing the default routing rule. If the default routing rule is parallel, then the postRouting()
callback occurs after all sequential rules are executed and does not wait for the execution of the parallel default routing rule.