Static methods available to BizTalk expression shapes
The InRule.BizTalk.Orchestration.RuleExecution class contains the following methods that may be called from a BizTalk Expression: ExecuteRulesFromCatalog and ExecuteRulesFromFile. Both return an XML document with rule results.
ExecuteRulesFromCatalog - contains the following parameters:
- message: The message (single part) or message part containing the XML to be passed to the rule engine.
- outMessage: The message or message part that should contain the updated message.
- rootEntityName: The name of the “top level” entity that will be populated with the XML in the “message” parameter.
- ruleApplicationLabel: The optional label for the application.
- ruleApplicationName: The application name on the catalog server.
- useIntegratedSecurity: Indicates whether integrated security should be used.
- username: The user name to use to authenticate to the server.
- password: The password to use to authenticate to the server.
- catalogUri: The uri of the server.
- catalogTimeout: The amount of time, in milliseconds, to wait for the catalog server.
- catalogCacheTimeout: The amount of time, in milliseconds, the adapter will cache the retrieved rule application.
ExecuteRulesFromFile - contains the following parameters:
- message: The message (single part) or message part containing the XML to be passed to the rule engine.
- outMessage: The message or message part that should contain the updated message.
- rootEntityName: The name of the “top level” entity that will be populated with the XML in the “message” parameter.
- filePath: The file system path to the rule application file. Note that any relative paths will be relative to the BizTalk installation directory.
Comments
0 comments
Please sign in to leave a comment.