![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
A function catalog is an XML file that conforms to the schema file function_catalog.xsd. This allows TIBCO BusinessEvents to integrate your custom functions with the function registry in TIBCO BusinessEvents Studio. The function catalog must be in the XML format shown below and described in Table 27 to map properly to the schema.
• Name the function catalog functions.catalog.
•
Table 27 lists and describes the elements used in the function catalog.
Table 27 Function Catalog Elements where name is a name you provide for this functions catalog.Example: <catalog name="custom"> This is a sub-element of <catalog>. <category> is a nesting container for a set of related functions within this function catalog. Set to true if the function executes asynchronously.Set to false if the function executes synchronously. If this function has side effects, for example, if it can modify values, you can only use it in action rules. Set this parameter to true to alert TIBCO BusinessEvents that this function has side effects and is not valid in conditions. Otherwise, set to false. The the <reevaluate> element of a function catalog is relevant only when a function is used in a condition. Its effect is as follows.If the condition stock.price > 10.0; is re-evaluated, then currentTimeMillis() is also re-evaluated.In the above stock price example, if <reevaluate> were set to false, then the condition would be re-evaluated only if stock.time changes.
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |