HS.AU.SMD.Process
persistent class HS.AU.SMD.Process extends Ens.BusinessProcess, HS.HC.Util.Trace.Helper
SQL Table Name: HS_AU_SMD.Process
Property Inventory
Method Inventory
- GetDeliverStatus()
 - GetResponseCode()
 - GetTransportEndpoint()
 - OnError()
 - OnRequest()
 - OnResponse()
 - SendTransportResponse()
 - UpdateInboundDeliveryStatus()
 - UpdateTransportStatus()
 
Parameters
parameter SETTINGS = MessageProcessor:Basic:selector?multiSelect=1&context={Ens.ContextSearch/ProductionItems?targets=1&productionName=@productionId},TransportResponseDelivery:Basic:selector?multiSelect=1&context={Ens.ContextSearch/ProductionItems?targets=1&productionName=@productionId};
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 MessageProcessor as Ens.DataType.ConfigName;
Custom defined handler for processing inbound messages
Property methods: MessageProcessorDisplayToLogical(), MessageProcessorGet(), MessageProcessorGetStored(), MessageProcessorIsValid(), MessageProcessorLogicalToDisplay(), MessageProcessorLogicalToOdbc(), MessageProcessorNormalize(), MessageProcessorParseConfigNameSpec(), MessageProcessorSet()
property TransportResponseDelivery as Ens.DataType.ConfigName [ InitialExpression = "HS.AU.SMD.Operations" ];
Operation to handle outbound messages
Property methods: TransportResponseDeliveryDisplayToLogical(), TransportResponseDeliveryGet(), TransportResponseDeliveryGetStored(), TransportResponseDeliveryIsValid(), TransportResponseDeliveryLogicalToDisplay(), TransportResponseDeliveryLogicalToOdbc(), TransportResponseDeliveryNormalize(), TransportResponseDeliveryParseConfigNameSpec(), TransportResponseDeliverySet()
Methods
method GetDeliverStatus(pRequest As HS.AU.Message.SMD.InboundMessageRequest, Output pResponse As HS.AU.Message.SMD.DeliveryResponse) as %Status
Locate any inbound messages with the same invocationId and reject as a duplicate when needed
method GetResponseCode(pResponseStatus, ByRef pResponseString, ByRef pResponseCode, ByRef pResponseMessage) as %Status
method GetTransportEndpoint(pInboundMessage As HS.AU.Message.SMD.InboundMessageRequest) as %String
method OnError(request As %Library.Persistent, ByRef response As %Library.Persistent, callrequest As %Library.Persistent, pErrorStatus As %Status, pCompletionKey As %String) as %Status
This method is called when an error response is received
Returning the same error will cause the BusinessProcess to set its status to error and close down
Returning $$$OK from this method causes the BusinessProcess to recover from this error
method OnRequest(pRequest As Ens.Request, Output pResponse As Ens.Response) as %Status
Take Deliver or ImmediateDeliver message
For Deliver - check for duplicates and respond duplicate / ok
build response message
method OnResponse(pRequest As Ens.Request, ByRef pResponse As Ens.Response, pCallrequest As Ens.Request, pCallresponse As Ens.Response, pCompletionKey As %String) as %Status
Inherited description: Handle a 'Response'
method SendTransportResponse(pInboundMessage As HS.AU.Message.SMD.InboundMessageRequest, pResponseStatus As %Status = $$$OK, pResponseCode As %String = "", pResponseMessage As %String = "") as %Status
method UpdateInboundDeliveryStatus(pRequest As HS.AU.Message.SMD.InboundMessageRequest) as %Status
Update acknowledgement status for inbound messages (after sending TRD response)
method UpdateTransportStatus(pRequest As HS.AU.Message.SMD.TransportDeliveryRequest, Output pResponse As HS.AU.Message.SMD.TransportDeliveryResponse) as %Status
Update acknowledgement status for outbound messages (after receiving TRD response)
Indexes
index ($HS.AU.SMD.Process on ) [Extent, Type = bitmap];
Inherited Members
Inherited Properties
- %ConfigName
 - %ConfigQueueName
 - %CurrentResponseHeader
 - %IsCompleted
 - %IsTerminated
 - %IsTimerInterrupted
 - %LastActionTime
 - %LastHandledTime
 - %LastReportedError
 - %MasterPendingResponses
 - %MasterPendingResponsesOld
 - %MessagesReceived
 - %MessagesReceivedOld
 - %MessagesSent
 - %MessagesSentOld
 - %PrimaryRequestHeader
 - %PrimaryResponseHeader
 - %QuitTask
 - %RepliedStatus
 - %SessionId
 - %StatusCode
 - %SuperSession
 - %TimeCompleted
 - %TimeCreated
 - %WarnedLatest
 - %isShadow
 - %request
 - %response
 - %responseClassName
 - %responseId
 - Adapter
 - AlertGroups
 - AlertOnError
 - AlertRetryGracePeriod
 - BusinessPartner
 - FailureTimeout
 - InactivityTimeout
 - QueueCountAlert
 - QueueWaitAlert
 - ReplyCodeActions
 - Retry
 - RetryInterval
 - SuspendMessage
 - ThrottleDelay
 - TraceOperations
 
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()
 - %InitExtentData()
 - %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()
 - BuildTraceRequest()
 - ClearAllPendingResponses()
 - DeferResponse()
 - EnumerateSettingsClose()
 - EnumerateSettingsExecute()
 - EnumerateSettingsFetch()
 - GenerateSuperSession()
 - GetDeferredResponseToken()
 - GetMsgHdrRequestKey()
 - GetProductionSettingValue()
 - GetProductionSettings()
 - GetPropertyConnections()
 - GetSettings()
 - GetShadowInstance()
 - HSTrace()
 - IsResponsePending()
 - OnComplete()
 - OnErroredResponse()
 - OnFailureTimeout()
 - OnGenerateSuperSession()
 - OnGetConnections()
 - OnGetReplyAction()
 - OnInit()
 - OnKeepalive()
 - OnMonitor()
 - OnProductionStart()
 - OnProductionStop()
 - OnTearDown()
 - OnTimeout()
 - QueueName()
 - RemovePendingResponse()
 - Reply()
 - ReplyError()
 - SendAlert()
 - SendDeferredResponse()
 - SendRequestAsync()
 - SendRequestSync()
 - SetTimer()
 - WillHandleErroredResponse()
 
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 (HS.AU.SMD.Process)
^Ens.BusinessProcessD(ID,"Process")  | 
= | TraceOperations 
MessageProcessor 
TransportResponseDelivery 
 |