use of org.apache.cxf.jms.testsuite.services.GreeterSpecWithPortError in project cxf by apache.
the class SoapJmsSpecTest method startServers.
@BeforeClass
public static void startServers() throws Exception {
startBusAndJMS(SoapJmsSpecTest.class);
publish("jms:queue:test.cxf.jmstransport.queue2", new GreeterSpecImpl());
publish("jms:queue:test.cxf.jmstransport.queue5", new GreeterSpecWithPortError());
EndpointImpl ep = (EndpointImpl) Endpoint.create(null, new GreeterSpecImpl());
ep.setBus(bus);
ep.getFeatures().add(new GZIPFeature());
ep.getFeatures().add(cff);
ep.publish("jms:queue:test.cxf.jmstransport.queue6");
}
Aggregations