Package org.apache.camel.processor

Examples of org.apache.camel.processor.ConvertBodyProcessor


            if (getTypeClass() == null) {
                throw new RuntimeCamelException("Cannot load the class with the class name: " + getType());
            }
        }

        return new ConvertBodyProcessor(getTypeClass(), getCharset());
    }
View Full Code Here


            if (getTypeClass() == null) {
                throw new RuntimeCamelException("Cannot load the class with the class name: " + getType());
            }
        }

        return new ConvertBodyProcessor(getTypeClass(), getCharset());
    }
View Full Code Here

        // validate charset
        if (charset != null) {
            IOConverter.validateCharset(charset);
        }

        return new ConvertBodyProcessor(getTypeClass(), getCharset());
    }
View Full Code Here

     *
     * @deprecated Please use {@link #convertBodyTo(Class)} instead. Will be removed in Camel 2.0.
     */
    @Deprecated
    public Type convertOutBodyTo(Class type) {
        return process(new ConvertBodyProcessor(type));
    }
View Full Code Here

     *
     * @deprecated Please use {@link #convertBodyTo(Class)} instead. Will be removed in Camel 2.0.
     */
    @Deprecated
    public Type convertFaultBodyTo(Class type) {
        return process(new ConvertBodyProcessor(type));
    }
View Full Code Here

        return "convertBodyTo";
    }

    @Override
    public Processor createProcessor(RouteContext routeContext) throws Exception {
        return new ConvertBodyProcessor(getTypeClass());
    }
View Full Code Here

        // validate charset
        if (charset != null) {
            validateCharset(charset);
        }

        return new ConvertBodyProcessor(getTypeClass(), getCharset());
    }
View Full Code Here

        return "convertBodyTo";
    }

    @Override
    public Processor createProcessor(RouteContext routeContext) throws Exception {
        return new ConvertBodyProcessor(getTypeClass());
    }
View Full Code Here

     *
     * @deprecated Please use {@link #convertBodyTo(Class)} instead. Will be removed in Camel 2.0.
     */
    @Deprecated
    public Type convertOutBodyTo(Class type) {
        return process(new ConvertBodyProcessor(type));
    }
View Full Code Here

     *
     * @deprecated Please use {@link #convertBodyTo(Class)} instead. Will be removed in Camel 2.0.
     */
    @Deprecated
    public Type convertFaultBodyTo(Class type) {
        return process(new ConvertBodyProcessor(type));
    }
View Full Code Here

TOP

Related Classes of org.apache.camel.processor.ConvertBodyProcessor

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.