*/
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);