Package org.switchyard.internal

Examples of org.switchyard.internal.EventManager


        super(DEFAULT_DOMAIN,
                registry,
                new LocalExchangeBus(),
                new BaseTransformerRegistry(),
                new BaseValidatorRegistry(),
                new EventManager(),
                new DefaultServiceDomainSecurity());
        init();
    }
View Full Code Here


*/
public class CamelEventBridgeTest {

    @Test
    public void testEventBridge() throws Exception {
        EventManager eventManager = new EventManager();
        CountingObserver observer = new CountingObserver();
        eventManager.addObserver(observer, CamelContextStartedEvent.class);
        eventManager.addObserver(observer, CamelContextStoppedEvent.class);

        CamelEventBridge eventBridge = new CamelEventBridge(eventManager);
        DefaultCamelContext context = new DefaultCamelContext();
        context.getManagementStrategy().addEventNotifier(eventBridge);

View Full Code Here

TOP

Related Classes of org.switchyard.internal.EventManager

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.