Package org.switchyard.component.camel.model

Examples of org.switchyard.component.camel.model.RouteScanner.scan()


    public void setUp() throws IOException {
        RouteScanner scanner = new RouteScanner();
        List<URL> urls = new ArrayList<URL>();
        urls.add(new File("./target/test-classes").toURI().toURL());
        ScannerInput<SwitchYardModel> input = new ScannerInput<SwitchYardModel>().setURLs(urls);
        _scannedModel = scanner.scan(input).getModel();
    }

    @Test
    public void testRouteAnnnotationServiceNaming() {
        List<ComponentModel> components = _scannedModel.getComposite().getComponents();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.