Package com.helger.phase4.incoming
Interface IAS4IncomingProfileSelector
- All Known Implementing Classes:
AS4IncomingProfileSelectorConstant,AS4IncomingProfileSelectorFromGlobal
public interface IAS4IncomingProfileSelector
Callback interface to determine the used AS4 profile of an incoming message.
- Since:
- 0.13.0
- Author:
- Philip Helger
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetAS4ProfileID(IAS4IncomingMessageState aIncomingState) Try to determine the AS4 profile to be used for an incoming message.booleanConfigure if the profile validation rules should be applied or not.
-
Field Details
-
DEFAULT_VALIDATE_AGAINST_PROFILE
static final boolean DEFAULT_VALIDATE_AGAINST_PROFILE- See Also:
-
-
Method Details
-
getAS4ProfileID
Try to determine the AS4 profile to be used for an incoming message. This method is only called after the SOAP headers were processed successfully.- Parameters:
aIncomingState- The message state of processing. Nevernull.- Returns:
- The AS4 profile ID or
nullif none was found.
-
validateAgainstProfile
boolean validateAgainstProfile()Configure if the profile validation rules should be applied or not. Usually this is recommended, but there might be edge cases where it is good to be able to deactivate them.- Returns:
trueif profile validation should be performed,falseif not. The default istrue.- Since:
- 0.13.1
-