Defining a Custom Archive Manager
Defining a Custom Archive Manager
For InterSystems IRIS, the Management Portal provides a tool called the Archive Manager; this is described in Using the Archive Manager. You can define and use a custom Archive Manager. To do so, create a class as follows:
-
It can use Ens.Archive.ManagerOpens in a new tab as a superclass.
-
It must define the DoArchive() method, which has the following signature:
ClassMethod DoArchive() As %Status
An alternative option is to use the Enterprise Message Bank, which enables you to archive messages from multiple productions. For an overview, see Defining the Enterprise Message Bank.