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.
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
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
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).