EnsLib.MsgRouter.VDocRoutingEngine
persistent class EnsLib.MsgRouter.VDocRoutingEngine extends EnsLib.MsgRouter.RoutingEngine
SQL Table Name: EnsLib_MsgRouter.VDocRoutingEngine
Property Inventory
Method Inventory
- GetRequestClassList()
- GetResponseClassList()
- OnConstructReply()
- OnPrepareReply()
- OnRequest()
- OnValidate()
Parameters
parameter SETTINGS = Validation:Basic;
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 DocName as %String) [ Transient ];
Property methods: DocNameDisplayToLogical(), DocNameGet(), DocNameIsValid(), DocNameLogicalToDisplay(), DocNameLogicalToOdbc(), DocNameNormalize(), DocNameSet()
property DocType as %String (MAXLEN = 128) [ Transient ];
Property methods: DocTypeDisplayToLogical(), DocTypeGet(), DocTypeIsValid(), DocTypeLogicalToDisplay(), DocTypeLogicalToOdbc(), DocTypeNormalize(), DocTypeSet()
property Validation as %String (MAXLEN = 20) [ InitialExpression = "m" , Transient ];
String specifying types of Validation to perform
Set to 1 to block documents that don't pass default validation. Default validation checks for DocType assignment and successful BuildMapStatus.
This is equivalent to 'dm'
'd' - require DocType
'm' - require successful BuildMap status
Property methods: ValidationDisplayToLogical(), ValidationGet(), ValidationIsValid(), ValidationLogicalToDisplay(), ValidationLogicalToOdbc(), ValidationNormalize(), ValidationSet()
Methods
classmethod GetRequestClassList() as %String
method OnConstructReply(Output pReplyDoc As Ens.VDoc.Interface, pOriginalDoc As Ens.VDoc.Interface, ByRef pSC As %Status) as %Status
Override this method to construct a customized reply document. Inputs are the original document and
the status code that the framework produced in processing the original document.
If you change the status code but do not construct a reply document, the framework will use the new value to construct a standard reply document.
method OnPrepareReply(request As %Persistent, ByRef response As %Persistent)
method OnRequest(request As %Persistent, Output response As %Persistent) as %Status
Inherited description: Handle a 'Request'
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
- %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
- ForwardGeneratedResponseToTargets
- InactivityTimeout
- MsgClass
- QueueCountAlert
- QueueWaitAlert
- ReplyCodeActions
- ResponseFrom
- ResponseTargetConfigNames
- ResponseTimeout
- Retry
- RetryInterval
- RuleActionReason
- RuleActionUserData
- RuleActionUserDataArray
- RuleLogging
- RuleReason
- RuleUserData
- Source
- SuspendMessage
- ThrottleDelay
- aRespFrom
Inherited Methods
- %%CLASSNAMELogicalToStorage()
- %%CLASSNAMEStorageToLogical()
- %AddToSaveSet()
- %AddToSyncSet()
- %BMEBuilt()
- %BuildIndicesAsync()
- %BuildIndicesAsyncResponse()
- %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()
- %OnDeleteFinally()
- %OnDetermineClass()
- %OnNew()
- %OnOpenFinally()
- %OnSaveFinally()
- %Open()
- %OpenId()
- %OriginalNamespace()
- %PackageName()
- %PhysicalAddress()
- %PurgeIndices()
- %Reload()
- %RemoveFromSaveSet()
- %ResolveConcurrencyConflict()
- %RollBack()
- %Save()
- %SaveDirect()
- %SaveIndices()
- %SerializeObject()
- %SetModified()
- %SortBegin()
- %SortEnd()
- %SuperSessionSet()
- %SyncObjectIn()
- %SyncTransport()
- %UnlockExtent()
- %UnlockId()
- %ValidateIndices()
- %ValidateObject()
- %ValidateTable()
- AdapterName()
- AssignOneSetting()
- ClearAllPendingResponses()
- DeferResponse()
- EnumerateSettingsClose()
- EnumerateSettingsExecute()
- EnumerateSettingsFetch()
- GenerateSuperSession()
- GetDeferredResponseToken()
- GetDelegateConnections()
- GetMsgHdrRequestKey()
- GetProductionSettingValue()
- GetProductionSettings()
- GetPropertyConnections()
- GetSettings()
- GetShadowInstance()
- IsErrorResponse()
- IsResponsePending()
- OnComplete()
- OnError()
- OnErroredResponse()
- OnFailureTimeout()
- OnGenerateSuperSession()
- OnGetConnections()
- OnGetReplyAction()
- OnInit()
- OnKeepalive()
- OnMonitor()
- OnProductionStart()
- OnProductionStop()
- OnResponse()
- OnTearDown()
- OnTimeout()
- QueueName()
- RemovePendingResponse()
- Reply()
- ReplyError()
- RuleLoggingSet()
- SendAlert()
- SendDeferredResponse()
- SendRequestAsync()
- SendRequestSync()
- SetTimer()
- WillHandleErroredResponse()
- doOneAction()
- normalizeValSpec()
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) |