Package org.apache.camel.component.file.strategy

Examples of org.apache.camel.component.file.strategy.NoOpFileProcessStrategy


    /**
     * A strategy method to lazily create the file strategy
     */
    protected FileProcessStrategy createFileStrategy() {
        if (isNoop()) {
            return new NoOpFileProcessStrategy();
        } else if (moveNamePostfix != null || moveNamePrefix != null) {
            if (isDelete()) {
                throw new IllegalArgumentException(
                                                   "You cannot set the deleteFiles property and a moveFilenamePostfix or moveFilenamePrefix");
            }
View Full Code Here


    /**
     * A strategy method to lazily create the file strategy
     */
    protected FileProcessStrategy createFileStrategy() {
        if (isNoop()) {
            return new NoOpFileProcessStrategy();
        } else if (moveNamePostfix != null || moveNamePrefix != null) {
            if (isDelete()) {
                throw new IllegalArgumentException(
                                                   "You cannot set the deleteFiles property and a moveFilenamePostfix or moveFilenamePrefix");
            }
View Full Code Here

TOP

Related Classes of org.apache.camel.component.file.strategy.NoOpFileProcessStrategy

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.