public class UriConfigurationTest extends Assert {
@Test
public void testComponentConfiguration() throws Exception {
CamelContext context = new DefaultCamelContext();
BeanstalkComponent comp = context.getComponent("beanstalk", BeanstalkComponent.class);
EndpointConfiguration conf = comp.createConfiguration("beanstalk:tube?command=put");
assertEquals("put", conf.getParameter("command"));
ComponentConfiguration compConf = comp.createComponentConfiguration();