Creates an instance of this class with the common properties used when retrieving and processing the messages.
Namespace: Scanjour.Workflow4.ActivityLibrary.ServiceProcess
Assembly: Scanjour.Workflow4.ActivityLibrary_21.3.0.0 (in Scanjour.Workflow4.ActivityLibrary_21.3.0.0.dll) Version: 21.3.0.0 (21.3.0.0)
Syntax
public EBoksMessageRetriever( IDigitalPostReceiver receiver, Uri oDataUri, string defaultCaseNo, IMessageStorage messageStorage, IActivityLogger logger, bool useEboksMailbox = false, bool openClosedCase = true )
Parameters
- receiver
- Type: WorkZone.Dispatcher.BaseIDigitalPostReceiver
The receiver from which the messages are read. - oDataUri
- Type: SystemUri
To provide access to the WorkZone database. - defaultCaseNo
- Type: SystemString
The case No. of the file case, on which the message records will be created if no other case file is specified in the metadata of the message or if such case file is inaccessible. - messageStorage
- Type: Scanjour.Workflow4.ActivityLibrary.ServiceProcessIMessageStorage
The storage in whihc the messages will be stored. Typically this will be (WorkZoneMessageStorage. - logger
- Type: Scanjour.Workflow4.ActivityLibraryIActivityLogger
The class will use this logger to add entries. - useEboksMailbox (Optional)
- Type: SystemBoolean
When unsolicitated mails are received the default case is found from WzpEboksMailMap - openClosedCase (Optional)
- Type: SystemBoolean
Opens closed cases if a message is received for the case
See Also