use of org.apache.hello_world_doc_lit.JMSGreeterImpl in project cxf by apache.
the class MultiTransportClientServerTest method startServers.
@BeforeClass
public static void startServers() throws Exception {
bus = BusFactory.getDefaultBus();
ActiveMQConnectionFactory cf = new ActiveMQConnectionFactory("vm://localhost?broker.persistent=false");
PooledConnectionFactory cfp = new PooledConnectionFactory(cf);
cff = new ConnectionFactoryFeature(cfp);
String address = "http://localhost:" + PORT + "/SOAPDocLitService/SoapPort";
Endpoint.publish(address, new HTTPGreeterImpl());
EndpointImpl ep1 = (EndpointImpl) Endpoint.create(new JMSGreeterImpl());
ep1.setBus(bus);
ep1.getFeatures().add(cff);
ep1.publish();
}
Aggregations