Skip to main content

EnsLib.MsgRouter.RoutingEngineST

persistent class EnsLib.MsgRouter.RoutingEngineST extends EnsLib.MsgRouter.RoutingEngine

SQL Table Name: EnsLib_MsgRouter.RoutingEngineST

A simple RoutingEngine that populates a SearchTable entry for each message received

Property Inventory

Method Inventory

Parameters

parameter SETTINGS = SearchTableClass::selector?context={Ens.ContextSearch/SearchTableClasses?host=EnsLib.MsgRouter.RoutingEngineST};
Inherited description: List of properties can be set as settings in the configuration file format is a comma separated list of property names

Properties

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.
Property methods: SearchTableClassDisplayToLogical(), SearchTableClassGet(), SearchTableClassGetStored(), SearchTableClassIsValid(), SearchTableClassLogicalToDisplay(), SearchTableClassLogicalToOdbc(), SearchTableClassNormalize(), SearchTableClassSet()

Methods

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.

Inherited Members

Inherited Properties

Inherited Methods

Storage

Gray indicates storage defined by superclasses.

Storage Model: Storage (Ens.BusinessProcess)

^Ens.BusinessProcessD(ID,"received",n)
=
%MessagesReceived(n)

Storage Model: Storage (Ens.BusinessProcess)

^Ens.BusinessProcessD(ID,"sent",n)
=
%MessagesSent(n)

Storage Model: Storage (Ens.BusinessProcess)

^Ens.BusinessProcessD(ID)
=
%%CLASSNAME
%ConfigQueueName
%IsCompleted
%MasterPendingResponsesOld
%PrimaryRequestHeader
%PrimaryResponseHeader
%RepliedStatus
%responseId
Adapter
%SessionId
%TimeCompleted
%TimeCreated
%ConfigName
%QuitTask
AlertOnError
%responseClassName
%IsTimerInterrupted
%IsTerminated
%StatusCode
%MessagesReceivedOld
%MessagesSentOld
ReplyCodeActions
RetryInterval
AlertRetryGracePeriod
FailureTimeout
Retry
SuspendMessage
QueueCountAlert
QueueWaitAlert
InactivityTimeout
BusinessPartner
AlertGroups
%SuperSession

Storage Model: Storage (EnsLib.MsgRouter.RoutingEngine)

^Ens.BusinessProcessD(ID,"RoutingEngine")
=
%WaitAll
%ResponseList
%TimedOut
ResponseTargetConfigNames
ActOnTransformError
RuleLogging
ActOnValidationError
ForwardGeneratedResponseToTargets

Storage Model: Storage (EnsLib.MsgRouter.RoutingEngine)

^Ens.BusinessProcessD(ID,"aRespFrom",n)
=
aRespFrom(n)

Storage Model: Storage (EnsLib.MsgRouter.RoutingEngineST)

^Ens.BusinessProcessD(ID,"RoutingEngineST")
=
SearchTableClass
FeedbackOpens in a new tab