Package org.switchyard.component.camel.common.model.file

Examples of org.switchyard.component.camel.common.model.file.GenericFileProducerBindingModel


        super(FileEndpoint.class, CAMEL_XML);
    }

    @Override
    protected void createModelAssertions(V1CamelFileBindingModel model) {
        GenericFileProducerBindingModel producer = model.getProducer();
        assertEquals(FILE_EXIST, producer.getFileExist());
        assertEquals(TEMP_PREFIX, producer.getTempPrefix());
        assertEquals(KEEP_LAST_MODIFIED, producer.isKeepLastModified());
        assertEquals(EAGER_DELETE_TARGET_FLE, producer.isEagerDeleteTargetFile());
        assertEquals(DONE_FILENAME, producer.getDoneFileName());
    }
View Full Code Here


    protected V1CamelFileBindingModel createTestModel() {
        V1CamelFileBindingModel fileModel = (V1CamelFileBindingModel) new V1CamelFileBindingModel(CamelFileNamespace.V_1_0.uri())
            .setDirectory(DIRECTORY)
            .setAutoCreate(AUTO_CREATE);

        GenericFileProducerBindingModel producer = new V1CamelFileProducerBindingModel(CamelFileNamespace.V_1_0.uri())
            .setFileExist(FILE_EXIST)
            .setTempPrefix(TEMP_PREFIX)
            .setKeepLastModified(KEEP_LAST_MODIFIED)
            .setEagerDeleteTargetFile(EAGER_DELETE_TARGET_FLE)
            .setDoneFileName(DONE_FILENAME);
View Full Code Here

TOP

Related Classes of org.switchyard.component.camel.common.model.file.GenericFileProducerBindingModel

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.