Class Reference
IRIS for UNIX 2024.1.2
InterSystems: The power behind what matters   
Documentation  Search
  [USER] >  [Ens] >  [Enterprise] >  [MsgBank] >  [BankHelperClass]
Private  Storage   

abstract class Ens.Enterprise.MsgBank.BankHelperClass

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
1


Summary

Methods
OnBankMsg


Methods

• abstract classmethod OnBankMsg(pHeader As Ens.Enterprise.MsgBank.MessageHeader, pFullHeaderID As %String, pBody As %RegisteredObject = "", pFullBodyID As %String, pService As Ens.Enterprise.MsgBank.TCPService) as %Status
A helper function that can be invoked from the Message Bank TCP Service (of type Ens.Enterprise.MsgBank.TCPService). If the Message Bank TCP service is configured to use a subclass of this class as its BankHelperClass, then the service will invoke this method for each incoming message header that also banks the message body. The arguments to the method are as follows:
  • pHeader - the Ens.Enterprise.MsgBank.MessageHeader object being banked,
  • pFullHeaderID - the full ID of the header,
  • pBody - the message body object being banked,
  • pFullBodyID - the full ID of the message body, and
  • pService - the Ens.Enterprise.MsgBank.TCPService instance. The service object is passed in to allow the helper code to send data to other components in the production, especially asynchronously. If all the code is executed directly within this method, the overall throughput of the service may be affected due to the extra processing overhead.
Users should override this implementation with their own as needed.


Copyright (c) 2025 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.