Package org.milyn.smooks.camel.dataformat

Examples of org.milyn.smooks.camel.dataformat.SmooksDataFormat


    public ExampleRouteBuilder() {
    }

    @Override
    public void configure() throws Exception {
        SmooksDataFormat smooksDataFormat = new SmooksDataFormat("smooks-config.xml");
        smooksDataFormat.setCamelContext(getContext());
        smooksDataFormat.start();
        // Starting with Camel 2.5 the path can be specified as file:.
        // See https://issues.apache.org/activemq/browse/CAMEL-3063 for more
        // information.
        from("file://" + getWorkingDir() + "?fileName=input-message.edi&noop=true")
                .log("Before unmarshal with SmooksDataFormat:").log("${body}")
View Full Code Here


    }

    @Override
    public void configure() throws Exception
    {
        SmooksDataFormat smooksDataFormat = new SmooksDataFormat("smooks-config.xml");
        smooksDataFormat.setCamelContext(getContext());
        smooksDataFormat.start();
        // Starting with Camel 2.5 the path can be specified as file:.
        // See https://issues.apache.org/activemq/browse/CAMEL-3063 for more
        // information.
        from("file://" + getWorkingDir() + "?fileName=input-message.csv&noop=true")
        .log("Before unmarshal with SmooksDataFormat:").log("${body}")
View Full Code Here

TOP

Related Classes of org.milyn.smooks.camel.dataformat.SmooksDataFormat

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.