Interface IAS4IncomingMessageProcessingStatusSPI


@IsSPIInterface public interface IAS4IncomingMessageProcessingStatusSPI
Specific callback interface to inform interested entities about the end of processing of an incoming message.
Note: this interface is NOT called for outgoing messages, as for sending it is clean and deterministic when it is done.
Since:
2.5.0
Author:
Philip Helger
  • Method Details

    • onMessageProcessingStarted

      void onMessageProcessingStarted(@Nonnull IAS4IncomingMessageMetadata aMessageMetadata)
      This method is called before the incoming message is started to be processed. It is called before dumping is started.
      Parameters:
      aMessageMetadata - The message metadata of the incoming message for aligning it.
    • onMessageProcessingEnded

      void onMessageProcessingEnded(@Nonnull IAS4IncomingMessageMetadata aMessageMetadata, @Nullable Exception aCaughtException)
      This method is called after the incoming message is completely processed. It is called after dumping is finalized.
      Parameters:
      aMessageMetadata - The message metadata of the incoming message for aligning it.
      aCaughtException - In case message processing failed an exception was thrown, it is contained in here. You may use it to identify errors in processing.