Package org.apache.servicemix.cxfbc

Examples of org.apache.servicemix.cxfbc.CxfBcComponent


        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");
    }
View Full Code Here

TOP

Related Classes of org.apache.servicemix.cxfbc.CxfBcComponent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.