Interface IAS4UserMessageConsumer

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface IAS4UserMessageConsumer
Specialized interface for the EBMS 3 User Message consumer.
Since:
0.12.0
Author:
Philip Helger
  • Method Details

    • handleUserMessage

      void handleUserMessage(@Nonnull Ebms3UserMessage aEbmsUserMsg, @Nonnull IAS4IncomingMessageMetadata aIncomingMessageMetadata, @Nonnull IAS4IncomingMessageState aIncomingState) throws Phase4Exception
      Handling an EBMS 3 User Message. Make sure to copy all attachments you are interested in, because by default they are only available based on temporary files during the processing of the inbound request.
      Parameters:
      aEbmsUserMsg - The User Message domain object. Never null.
      aIncomingMessageMetadata - The message metadata of the synchronously received message. Never null. Added in v2.5.0.
      aIncomingState - The internal processing state of the signal message. Never null. Added in v2.5.0.
      Throws:
      Phase4Exception - in case of error