assertEquals(ret, "Bonjour");
ret = greeter.greetMe("ffang");
assertEquals(ret, "Hello ffang");
//test redeploy
CxfBcComponent component = (CxfBcComponent) jbi.getComponent("servicemix-cxfbc").getComponent();
component.getServiceUnitManager().stop("#default#");
component.getServiceUnitManager().shutDown("#default#");
Thread.sleep(10000);
component.getServiceUnitManager().init("#default#", null);
component.getServiceUnitManager().start("#default#");
ret = greeter.sayHi();
assertEquals(ret, "Bonjour");
ret = greeter.greetMe("ffang");
assertEquals(ret, "Hello ffang");
}