fferpcore.GenericMessageHandlerglobal with sharing class GenericMessageHandler Implements a common pattern for fferpcore.MessageHandler for the Data Replication use case. This class is intended to be wrapped by your MessageHandler. Therefore it does not implement fferpcore.MessageHandler itself. Methods
GenericMessageHandlerglobal GenericMessageHandler(SObjectType targetObject, SObjectField correlationField, String productDeveloperName, String messageTypeDeveloperName) Input Parameters
addLinkControlPublicationglobal void addLinkControlPublication(fferpcore.MessagingSystemService.Sender sender, fferpcore.MessagingSystemService.MessageTypeSpecifier specifier) Adds details of a publication to use to send Link Control replies. withProxyDeveloperNameglobal fferpcore.GenericMessageHandler withProxyDeveloperName(String proxyDeveloperName) Fluent method to set the Proxy Developer Name for this subscription. withIdentifierglobal fferpcore.GenericMessageHandler withIdentifier(String identifier) Fluent method to set the Identifier for this subscription. withLinkingCorrelationStrategyglobal fferpcore.GenericMessageHandler withLinkingCorrelationStrategy(fferpcore.LinkingCorrelationStrategy linkingCorrelationStrategy) Fluent method to override the Linking Correlation Strategy. withLinkControlDeveloperNameglobal fferpcore.GenericMessageHandler withLinkControlDeveloperName(String linkControlDeveloperName) Fluent method to set the Link Control Developer Name to be sent with Link Control messages. |