Interface IAS4RequestHandlerErrorConsumer


public interface IAS4RequestHandlerErrorConsumer
A callback interface to be notified about returned errors.
Since:
0.9.10
Author:
Philip Helger
  • Method Details

    • onAS4ErrorMessage

      void onAS4ErrorMessage(@Nonnull IAS4IncomingMessageState aIncomingState, @Nonnull @Nonempty com.helger.commons.collection.impl.ICommonsList<Ebms3Error> aEbmsErrors, @Nonnull AS4ErrorMessage aAS4ErrorMsg)
      Invoked when an AS4 error message is created. This doesn't mean that the response message is also sent back - that can be configured in the P-Mode.
      Parameters:
      aIncomingState - The current message processing state. Never null.
      aEbmsErrors - The list of errors that occurred. Neither null nor empty. Never modify that list.
      aAS4ErrorMsg - The filled AS4 error message to be returned. Don't touch. Never null.