Learning
Documentation
Community
Open Exchange
Global Masters
Home / Class Reference / ENSLIB namespace / EnsLib.MFT.Service.Passthrough
Private  Storage   

EnsLib.MFT.Service.Passthrough


class EnsLib.MFT.Service.Passthrough extends
Ens.BusinessService

Accepts files from the MFT Inbound Adapter and forwards the container object to the configured target configuration item or items.

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
2 3 2


Summary


This is a Business Service class.

The associated Adapter class is EnsLib.MFT.Adapter.Inbound.

Properties
%AlertStartTime %ConfigName %ConfigQueueName
%LastActionTime %LastHandledTime %LastReportedError
%OutsideCreated %PreserveSession %ProcessError
%ProcessInputCalled %QuitTask %RequestHeader
%SessionId %SuperSession %SuperSessionCreatedBeforeSession
%WaitForNextCallInterval %WarnedLatest %isShadow
Adapter AlertGracePeriod AlertGroups
AlertOnError ArchiveIO BusinessPartner
GenerateSuperSessionID IOLogEntry InactivityTimeout
SyncCall SyncCallTimeout TargetConfigNames
ThrottleDelay

Methods
%%OIDGet %AddToSaveSet %BindExport %BuildObjectGraph
%ClassIsLatestVersion %ClassName %Close %ConstructClone
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetParameter %IncrementCount %IsA %IsModified
%New %NormalizeObject %ObjectModified %OnClose
%OnNew %OriginalNamespace %PackageName %ProcessInputCalledGet
%ProcessInputCalledSet %RemoveFromSaveSet %SerializeObject %SetModified
%SuperSessionSet %ValidateObject AdapterName AssignOneSetting
CallProcessInputAsync CheckProcessInputAsyncStatus CloseIOLogEntry EnumerateSettingsClose
EnumerateSettingsExecute EnumerateSettingsFetch EvalInitialExpression ForceSessionId
GenerateSuperSession GetDeferredResponseToken GetProductionSettingValue GetProductionSettings
GetPropertyConnections GetRequestClassList GetResponseClassList GetSettings
GetShadowInstance MessageHeaderHandler NewIOLogEntry OnError
OnGenerateSuperSession OnGetConnections OnInit OnKeepalive
OnMonitor OnProcessInput OnProductionStart OnProductionStop
OnTask OnTearDown PopulateSuperSession ProcessInput
PurgeProcessInputAsyncTempData QueueName SaveIOLogEntry SendAlert
SendDeferredResponse SendRequestAsync SendRequestSync SendRequestSyncMultiple
acceptRequestAsync acceptRequestSync backgroundJob findCachedObject
initConfig inprocRequest makeConnections onOutsideErr
preProcessInput queueRequestAsync queueRequestSync


Parameters


• parameter ADAPTER = "EnsLib.MFT.Adapter.Inbound";
The type of adapter used to communicate with external systems
• parameter SETTINGS = "TargetConfigNames:Basic:selector?multiSelect=1&context={Ens.ContextSearch/ProductionItems?targets=1&productionName=@productionId},,SyncCall:Basic,SyncCallTimeout:Basic";
List of properties can be set as settings in the configuration file format is a comma separated list of property names

Properties


• property SyncCall as %Boolean [ InitialExpression = 0 ];
Send the inbound MFT message to the target Synchronously.
This might be needed to control the processing of the documents on the MFT server
The default is Asynchronously
• property SyncCallTimeout as %Integer [ InitialExpression = -1 ];
If the message is passed to the target as SyncCall then this is the timeout to wait for a response from the target.
Note the response is ignored. The default is unlimited timeout.
• property TargetConfigNames as %String(MAXLEN=1000);
Configuration item(s) to which to send file stream messages

Methods


• classmethod OnGetConnections(Output pArray As %String, pItem As Ens.Config.Item)
Return an array of connections for drawing lines on the config diagram
• method OnProcessInput(pInput As Ens.MFT.StreamContainer, pOutput As %RegisteredObject) as %Status
Override this method to process incoming data. Do not call SendRequestSync/Async() from outside this method (e.g. in a SOAP Service or a CSP page).