Search in sources :

Example 1 with GreeterSpecWithPortError

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");
}
Also used : GZIPFeature(org.apache.cxf.transport.common.gzip.GZIPFeature) GreeterSpecImpl(org.apache.cxf.jms.testsuite.services.GreeterSpecImpl) EndpointImpl(org.apache.cxf.jaxws.EndpointImpl) GreeterSpecWithPortError(org.apache.cxf.jms.testsuite.services.GreeterSpecWithPortError) BeforeClass(org.junit.BeforeClass)

Aggregations

EndpointImpl (org.apache.cxf.jaxws.EndpointImpl)1 GreeterSpecImpl (org.apache.cxf.jms.testsuite.services.GreeterSpecImpl)1 GreeterSpecWithPortError (org.apache.cxf.jms.testsuite.services.GreeterSpecWithPortError)1 GZIPFeature (org.apache.cxf.transport.common.gzip.GZIPFeature)1 BeforeClass (org.junit.BeforeClass)1