Home > Class Reference > ENSLIB namespace > EnsLib.MQSeries.PassthroughService
Private  Storage   

EnsLib.MQSeries.PassthroughService


class EnsLib.MQSeries.PassthroughService extends
Ens.BusinessService

Accepts messages from the MQSeries InboundAdapter, encapsulates each one as a Stream object within a StreamContainer object and forwards the container object to the configured target configuration item or items.

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
3 1 4


Summary


This is an Ensemble Business Service class.

The associated Adapter class is EnsLib.MQSeries.InboundAdapter.

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

Methods
%AddToSaveSet %ClassIsLatestVersion %ClassName %ConstructClone
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetParameter %IsA %IsModified %New
%NormalizeObject %ObjectModified %OnClose %OnNew
%OriginalNamespace %PackageName %RemoveFromSaveSet %SerializeObject
%SetModified %SuperSessionSet %ValidateObject AdapterName
AssignOneSetting CloseIOLogEntry EnumerateSettingsClose EnumerateSettingsExecute
EnumerateSettingsFetch ForceSessionId GenerateSuperSession GetDeferredResponseToken
GetProductionSettingValue GetProductionSettings GetPropertyConnections GetSettings
GetShadowInstance NewIOLogEntry OnError OnGenerateSuperSession
OnGetConnections OnInit OnKeepalive OnMonitor
OnProcessInput OnProductionStart OnProductionStop OnTearDown
PopulateSuperSession QueueName SaveIOLogEntry SendAlert
SendDeferredResponse SendRequestAsync SendRequestSync resolveAndIndex


Parameters


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

Properties


• 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 OnInit() as %Status
This user callback method is called via initConfig() from %OnNew() or in the case of SOAP Services from OnPreSOAP()
• method OnProcessInput(pInput As EnsLib.MQSeries.Message, pOutput As %RegisteredObject) as %Status
Wrap the input stream object in a StreamContainer message object and send it.
• method resolveAndIndex(pDoc As %Persistent) as %Status
Initialize and perform requested validation if any