ep.setEndpoint("endpoint");
ep.setBeanType(ConsumerBean.class);
bc.setEndpoints(new BeanEndpoint[] {ep });
jbi.activateComponent(bc, "servicemix-bean");
EchoComponent echo1 = new EchoComponent(new QName("urn", "service1"), "endpoint");
jbi.activateComponent(echo1, "echo1");
EchoComponent echo2 = new EchoComponent(new QName("urn", "service2"), "endpoint");
jbi.activateComponent(echo2, "echo2");
jbi.start();
ServiceMixClient client = new DefaultServiceMixClient(jbi);