Package org.switchyard.component.camel.core.model.v1

Examples of org.switchyard.component.camel.core.model.v1.V1CamelDirectBindingModel


        assertEquals(NAME, model.getEndpointName());
    }

    @Override
    protected V1CamelDirectBindingModel createTestModel() {
        return new V1CamelDirectBindingModel(CamelCoreNamespace.V_1_0.uri()).setEndpointName(NAME);
    }
View Full Code Here


        super(MockEndpoint.class, CAMEL_XML);
    }

    @Override
    protected V1CamelMockBindingModel createTestModel() {
        return new V1CamelMockBindingModel(CamelCoreNamespace.V_1_0.uri()).setEndpointName(NAME).setReportGroup(REPORT_GROUP);
    }
View Full Code Here

        assertEquals(LIMIT_CONCURRENT_CONSUMERS, model.isLimitConcurrentConsumers());
    }

    @Override
    protected V1CamelSedaBindingModel createTestModel() {
        return new V1CamelSedaBindingModel(CamelCoreNamespace.V_1_0.uri()).setEndpointName(NAME)
            .setSize(SIZE)
            .setConcurrentConsumers(CONCURRENT_CONSUMERS)
            .setWaitForTaskToComplete(WAIT_FOR_TASK_TO_COMPLETE)
            .setTimeout(TIMEOUT)
            .setMultipleConsumers(MULTIPLE_CONSUMERS)
View Full Code Here

        assertEquals(DAEMON, model.isDaemon());
    }

    @Override
    protected V1CamelTimerBindingModel createTestModel() {
        return new V1CamelTimerBindingModel(CamelCoreNamespace.V_1_0.uri()).setTimerName(NAME)
            .setTime(referenceDate)
            .setPattern(PATTERN)
            .setPeriod(PERIOD)
            .setDelay(DELAY)
            .setFixedRate(FIXED_RATE)
View Full Code Here

        super(DirectEndpoint.class, CAMEL_XML);
    }

    @Override
    protected V1CamelUriBindingModel createTestModel() {
        return new V1CamelUriBindingModel(CamelCoreNamespace.V_1_0.uri())
            .setConfigURI(URI.create("direct://input"));
    }
View Full Code Here

        super(DirectEndpoint.class, CAMEL_XML);
    }

    @Override
    protected V1CamelUriBindingModel createTestModel() {
        return new V1CamelUriBindingModel(CamelCoreNamespace.V_1_0.uri())
            .setConfigURI(URI.create("direct://input"));
    }
View Full Code Here

TOP

Related Classes of org.switchyard.component.camel.core.model.v1.V1CamelDirectBindingModel

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.