Home > Class Reference > ENSLIB namespace > EnsLib.MsgRouter.RoutingEngineST
Private  Storage   

EnsLib.MsgRouter.RoutingEngineST


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

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

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 1 1


Summary


This is an Ensemble Business Process class.

RequestResponse
%Library.Persistent %Library.Persistent

Properties
%ConfigName %ConfigQueueName %CurrentResponseHeader %ErrorStatus
%IsCompleted %IsTerminated %IsTimerInterrupted %LastActionTime
%LastHandledTime %LastReportedError %MasterPendingResponses %MasterPendingResponsesOld
%MessagesReceived %MessagesReceivedOld %MessagesSent %MessagesSentOld
%PrimaryRequestHeader %PrimaryResponseHeader %QuitTask %RepliedStatus
%ResponseList %SessionId %StatusCode %SuperSession
%TimeCompleted %TimeCreated %TimedOut %WaitAll
%WarnedLatest %isShadow %request %response
%responseClassName %responseId ActOnTransformError ActOnValidationError
ActionTargets Adapter AlertGroups AlertOnBadMessage
AlertOnError AlertRetryGracePeriod BadMessageHandler BusinessPartner
BusinessRuleName Document FailureTimeout ForceSyncSend
InactivityTimeout MsgClass QueueCountAlert QueueWaitAlert
ReplyCodeActions ResponseFrom ResponseTargetConfigNames ResponseTimeout
Retry RetryInterval RuleLogging RuleReason
RuleUserData SearchTableClass Source SuspendMessage
ThrottleDelay Validation aRespFrom

Methods
%AddToSaveSet %AddToSyncSet %BMEBuilt %CheckConstraints
%CheckConstraintsForExtent %ClassIsLatestVersion %ClassName %ComposeOid
%ConstructClone %Delete %DeleteExtent %DeleteId
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Exists
%ExistsId %Extends %GUID %GUIDSet
%GetLock %GetParameter %GetSwizzleObject %Id
%InsertBatch %IsA %IsModified %IsNull
%KillExtent %KillExtentData %LoadFromMemory %LockExtent
%LockId %New %NormalizeObject %ObjectIsNull
%ObjectModified %Oid %OnBeforeAddToSync %OnClose
%OnDetermineClass %OnNew %Open %OpenId
%OriginalNamespace %PackageName %PhysicalAddress %PurgeIndices
%Reload %RemoveFromSaveSet %ResolveConcurrencyConflict %RollBack
%Save %SaveDirect %SaveIndices %SerializeObject
%SetModified %SortBegin %SortEnd %SuperSessionSet
%SyncObjectIn %SyncTransport %UnlockExtent %UnlockId
%ValidateIndices %ValidateObject AdapterName AssignOneSetting
ClearAllPendingResponses DeferResponse EnumerateSettingsClose EnumerateSettingsExecute
EnumerateSettingsFetch GenerateSuperSession GetDeferredResponseToken GetDelegateConnections
GetProductionSettingValue GetProductionSettings GetPropertyConnections GetSettings
GetShadowInstance IsErrorResponse IsResponsePending OnComplete
OnError OnFailureTimeout OnGenerateSuperSession OnGetConnections
OnGetReplyAction OnInit OnKeepalive OnMonitor
OnPrepareReply OnProductionStart OnProductionStop OnRequest
OnResponse OnTearDown OnTimeout OnValidate
QueueName RemovePendingResponse Reply ReplyError
RuleLoggingSet SendAlert SendDeferredResponse SendRequestAsync
SendRequestSync SetTimer doOneAction normalizeValSpec


Parameters


• 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

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.

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.