}
@Test
public void testComponentConfiguration() throws Exception {
ControlBusComponent comp = context.getComponent("controlbus", ControlBusComponent.class);
EndpointConfiguration conf = comp.createConfiguration("controlbus:route?routeId=bar&action=stop");
assertEquals("bar", conf.getParameter("routeId"));
assertEquals("stop", conf.getParameter("action"));
ComponentConfiguration compConf = comp.createComponentConfiguration();
String json = compConf.createParameterJsonSchema();
assertNotNull(json);