Package org.apache.servicemix.common

Examples of org.apache.servicemix.common.DefaultComponent.addEndpoint()


        reg.setNmr(nmr);
        reg.setDocumentRepository(new DocumentRepositoryImpl());
        this.componentRegistry = reg;

        DefaultComponent component = new DefaultComponent();
        component.addEndpoint(new TestProviderEndpoint(component.getServiceUnit(),
                                               new QName("urn:test", "service"),
                                               "provider",
                                               new QName("urn:test", "interface")));
        component.addEndpoint(new TestConsumerEndpoint(component.getServiceUnit(),
                                               new QName("urn:test", "service"),
View Full Code Here


        DefaultComponent component = new DefaultComponent();
        component.addEndpoint(new TestProviderEndpoint(component.getServiceUnit(),
                                               new QName("urn:test", "service"),
                                               "provider",
                                               new QName("urn:test", "interface")));
        component.addEndpoint(new TestConsumerEndpoint(component.getServiceUnit(),
                                               new QName("urn:test", "service"),
                                               "consumer",
                                               new QName("urn:test", "interface")));
        componentWrapper = new SimpleComponentWrapper(component);
        this.componentRegistry.register(componentWrapper, null);
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.