Package org.apache.camel

Examples of org.apache.camel.Body


            return ExpressionBuilder.propertyExpression(propertyAnnotation.name());
        } else if (annotation instanceof Header) {
            Header headerAnnotation = (Header)annotation;
            return ExpressionBuilder.headerExpression(headerAnnotation.name());
        } else if (annotation instanceof Body) {
            Body content = (Body)annotation;
            return ExpressionBuilder.bodyExpression(parameterType);

            // TODO allow annotations to be used to create expressions?
            /*
             * } else if (annotation instanceof XPath) { XPath xpathAnnotation =
View Full Code Here


        else if (annotation instanceof Header) {
            Header headerAnnotation = (Header) annotation;
            return ExpressionBuilder.headerExpression(headerAnnotation.name());
        }
        else if (annotation instanceof Body) {
            Body content = (Body) annotation;
            return ExpressionBuilder.bodyExpression(parameterType);

            // TODO allow annotations to be used to create expressions?
/*
        } else if (annotation instanceof XPath) {
View Full Code Here

TOP

Related Classes of org.apache.camel.Body

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.