Package com.helger.phase4.incoming
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
@ChangeNextMajorRelease("Rename to IAS4IncomingUserMessageConsumer")
public interface IAS4UserMessageConsumer
Specialized interface for the EBMS 3 User Message consumer.
- Since:
- 0.12.0
- Author:
- Philip Helger
-
Method Summary
Modifier and TypeMethodDescriptionvoidhandleUserMessage(@NonNull Ebms3UserMessage aEbmsUserMsg, @NonNull IAS4IncomingMessageMetadata aIncomingMessageMetadata, @NonNull IAS4IncomingMessageState aIncomingState) Handling an EBMS 3 User Message.
-
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. Nevernull.aIncomingMessageMetadata- The message metadata of the synchronously received message. Nevernull. Added in v2.5.0.aIncomingState- The internal processing state of the signal message. Nevernull. Added in v2.5.0.- Throws:
Phase4Exception- in case of error
-