persistent class EnsLib.MsgRouter.RoutingEngineST
extends EnsLib.MsgRouter.RoutingEngine
A simple RoutingEngine that populates a SearchTable entry for each message received
This is a Business Process class.
parameter SETTINGS = "SearchTableClass::selector?context={Ens.ContextSearch/SearchTableClasses?host=EnsLib.MsgRouter.RoutingEngineST}";
List of properties can be set as settings in the configuration file
format is a comma separated list of property names
property SearchTableClass
as %String(MAXLEN=100);
Store a set of searchable properties associated with each document processed.
These records will be stored in the named SearchTable class, if any.
method OnValidate(pDoc As %Persistent, pValSpec As %String, Output pStatus As %Status = $$$OK)
as %Boolean
Override this method to implement your own method for validating a Document
Return non-zero to prevent default validation of the message (if any);
return an error code in pStatus to indicate a validation failure.