Package org.talend.esb.policy.schemavalidate.SchemaValidationPolicy

Examples of org.talend.esb.policy.schemavalidate.SchemaValidationPolicy.MessageType


        for (AssertionInfo ai : ais) {
            if (ai.getAssertion() instanceof SchemaValidationPolicy) {
                SchemaValidationPolicy vPolicy = (SchemaValidationPolicy) ai.getAssertion();
                ValidationType vldType = vPolicy.getValidationType();
                AppliesToType appliesToType = vPolicy.getApplyToType();
                MessageType msgType = vPolicy.getMessageType();
                String customSchemaPath = vPolicy.getCustomSchemaPath();

                if (vldType != ValidationType.WSDLSchema) {
                    ai.setAsserted(true);
                }
View Full Code Here


    protected void handleMessageWithoutAssertionInfo(Message message) throws Fault {

        ValidationType vldType = policy.getValidationType();
        AppliesToType appliesToType = policy.getApplyToType();
        MessageType msgType = policy.getMessageType();
        String customSchemaPath = policy.getCustomSchemaPath();

        if (shouldSchemaValidate(message, msgType, appliesToType)) {
            if(vldType == ValidationType.CustomSchema){
                // load custom schema from external source
View Full Code Here

TOP

Related Classes of org.talend.esb.policy.schemavalidate.SchemaValidationPolicy.MessageType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.