To terminate a composition script evaluation normally during initial event processing, you can include a <halt>
element in a service input or output interceptor script block.
This stops the composition from including any more composition services. The SIS will also terminate any further evaluation of the interceptor upon encountering a <halt>
.
The <halt> element in a service input interceptor also stops the composition service that is target of the <invoke> element that contains that service input interceptor from being included in the composition.
|
A <halt>
statement will only halt composition evaluation while the SIS is processing the initial event. If the SIS encounters a <halt>
while processing a subsequent event, or while evaluating an interceptor invoked directly by a SLEE application, the only effect will be to terminate further interceptor evaluation.
The syntax of a <halt>
statement for an interceptor is the same as that for compositions.
|