BeanstalkComponent comp = context.getComponent("beanstalk", BeanstalkComponent.class);
EndpointConfiguration conf = comp.createConfiguration("beanstalk:tube?command=put");
assertEquals("put", conf.getParameter("command"));
ComponentConfiguration compConf = comp.createComponentConfiguration();
String json = compConf.createParameterJsonSchema();
assertNotNull(json);
assertTrue(json.contains("\"awaitJob\": { \"type\": \"boolean\""));
assertTrue(json.contains("\"command\": { \"type\": \"string\""));
assertTrue(json.contains("\"jobTimeToRun\": { \"type\": \"integer\""));