HttpSpringComponent http = new HttpSpringComponent();
HttpComponent http = new HttpComponent();
    protected void registerHttp() throws Exception {        HttpSpringComponent http = new HttpSpringComponent();        HttpEndpoint ep = new HttpEndpoint();        ep.setSoap(true);        ep.setDefaultMep(MessageExchangeSupport.IN_OUT);        ep.setRoleAsString("consumer");        ep.setService(new QName("urn:logicblaze:soa:loanbroker", "LoanBrokerService"));        ep.setEndpoint("loanbroker");        ep.setLocationURI("http://localhost:8192");        http.setEndpoints(new HttpEndpoint[] { ep });        jbi.activateComponent(http, "http");    }