Normal Message Processing: Listener Posts to ProcessCharges

See the Listener - it simply posts the message content to resource ProcessCharges.

 

Resource ProcessCharges Posts are persisted to MessageAudits, for error processing

We want to ensure that messages are saved, even if we encounter errors processing them.  So:

  1. PersistCharges declares an Extended Property to save Post data into MessageAudits (via resource PersistCharges).
    1. The Extended Property is processed by the Request Event
       
  2. Function RetryPayload provides for subsequent error retry, by resposting the saved data from MessageAudits to PersistCharges.