Examples of AppliesToType


Examples of org.talend.esb.policy.samenabling.SamEnablingPolicy.AppliesToType

                for (AssertionInfo ai : ais) {
                    if (ai.getAssertion() instanceof SamEnablingPolicy) {
                        SamEnablingPolicy vPolicy = (SamEnablingPolicy) ai
                                .getAssertion();

                        AppliesToType appliesToType = vPolicy
                                .getAppliesToType();

                        // Service service = ServiceModelUtil.getService(message
                        // .getExchange());
                        Exchange ex = message.getExchange();
View Full Code Here

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

        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

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


    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){
View Full Code Here

Examples of org.talend.esb.policy.transformation.TransformationAssertion.AppliesToType

            xsltPath = tas.getPath();
        }
        if (xsltPath != null) {

            MessageType msgType = MessageType.valueOf(tas.getMessageType());
            AppliesToType appliesToType  = AppliesToType.valueOf(tas.getAppliesTo());

            //XSLTInInterceptor xsltIn = new XSLTInInterceptor(inXSLTPath);
            HttpAwareXSLTInInterceptor xsltIn
                = new HttpAwareXSLTInInterceptor(xsltPath);
            xsltIn.setMsgType(msgType);
View Full Code Here

Examples of org.talend.esb.policy.transformation.TransformationAssertion.AppliesToType

    }

    protected void proceedSimple(Message message, TransformationAssertion tas) {

        MessageType msgType = MessageType.valueOf(tas.getMessageType());
        AppliesToType appliesToType  = AppliesToType.valueOf(tas.getAppliesTo());

        if (!shouldSchemaValidate(message, msgType, appliesToType)) {
            return;
        }
View Full Code Here

Examples of org.talend.esb.policy.transformation.TransformationAssertion.AppliesToType

            xsltPath = tas.getPath();
        }
        if (xsltPath != null) {

            MessageType msgType = MessageType.valueOf(tas.getMessageType());
            AppliesToType appliesToType  = AppliesToType.valueOf(tas.getAppliesTo());

            //XSLTOutInterceptor xsltOut = new XSLTOutInterceptor(outXSLTPath);
            HttpAwareXSLTOutInterceptor xsltOut
                = new HttpAwareXSLTOutInterceptor(xsltPath);
            xsltOut.setMsgType(msgType);
View Full Code Here

Examples of org.talend.esb.policy.transformation.TransformationAssertion.AppliesToType


    protected void proceedSimple(Message message, TransformationAssertion tas) {

        MessageType msgType = MessageType.valueOf(tas.getMessageType());
        AppliesToType appliesToType  = AppliesToType.valueOf(tas.getAppliesTo());

        if (!shouldSchemaValidate(message, msgType, appliesToType)) {
            return;
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.