Is it possible to change the timeout value for a SDK MicroAgent method invocation from Hawk Agent?
book
Article ID: KB0085068
calendar_today
Updated On:
Products
Versions
TIBCO Adapter SDK
-
Not Applicable
-
Description
Resolution: The Hawk method invocation timeout of 10 seconds can be configured starting TRA 5.2.0 (SDK 5.0.6) and on.
Prior to SDK 5.0.6, a custom script called from a rulebase should return as quickly as possible, since it blocks the agent from taking further action while the script is running. If a custom script does not return in 10 seconds, the agent terminates script execution. For scripts that require more than 10 seconds to execute, redirect the output to a logfile and monitor the log file using hawk.
The Adapter SDK MHawkMethod class constructors in SDK 5.0.6 and on can configure Hawk AMI API parameter for the Hawk method timeout.
Issue/Introduction
Is it possible to change the timeout value for a SDK MicroAgent method invocation from Hawk Agent?