Foundations Apex API Developer Reference

fferpcore.LinkingMessageToObjectMarshaller3

global interface LinkingMessageToObjectMarshaller3 extends LinkingMessageToObjectMarshaller2

This class extends fferpcore.LinkingMessageToObjectMarshaller2

Methods

onFailedMessages

void onFailedMessages(Map<String, Set<String>> errorMessagesByRequestKey)

This method is executed after the new or updated records are committed to the database, but before afterApply(). This allows the marshaller to revert work corresponding to failed messages.

Input Parameters

Name Type Description
errorMessagesByRequestKey Map<String, Set<String>> A map containing the request keys of the failed messages and their associated error messages. The request key is equal to the correlation ID of the messages in the request.
© Copyright 2009–2023 Certinia Inc. All rights reserved. Various trademarks held by their respective owners.