CEF (Connecting Europe Facility) eDelivery AS4 profile for EU public administrations.
The CEF eDelivery AS4 profile is defined by the European Commission for interoperability between public administrations across Europe. It supports both one-way/push and two-way/push-push messaging patterns.
The CEFCompatibilityValidator has an optional flag that controls whether the four-corner model (requiring originalSender and finalRecipient message properties) is enforced:
import com.helger.phase4.profile.cef.CEFCompatibilityValidator;// Default: four-corner model IS enforcedCEFCompatibilityValidator validator = new CEFCompatibilityValidator();// Disable four-corner model requirement (for two-corner scenarios)validator.setExpectFourCornerModel(false);
The EUDAMED profile (EU Medical Devices Database) is built on top of the CEF profile. The phase4-eudamed-client module uses AS4CEFProfileRegistarSPI.AS4_PROFILE_ID_FOUR_CORNER internally and adds EUDAMED-specific HTTP client settings.