use of org.apache.cxf.testutil.common.EmbeddedJMSBrokerLauncher in project cxf by apache.
the class JMSClientServerTest method startServers.
@BeforeClass
public static void startServers() throws Exception {
broker = new EmbeddedJMSBrokerLauncher("tcp://localhost:" + PORT);
launchServer(broker);
launchServer(new Server(broker));
createStaticBus();
}
use of org.apache.cxf.testutil.common.EmbeddedJMSBrokerLauncher in project cxf by apache.
the class JMSTestMtom method startServers.
@BeforeClass
public static void startServers() throws Exception {
broker = new EmbeddedJMSBrokerLauncher();
broker.startInProcess();
bus = BusFactory.getDefaultBus();
broker.updateWsdl(bus, "testutils/jms_test_mtom.wsdl");
Object mtom = new JMSMTOMImpl();
EndpointImpl ep = (EndpointImpl) Endpoint.publish("jms:jndi:dynamicQueues/test.cxf.jmstransport.queue&receiveTimeout=10000", mtom);
Binding binding = ep.getBinding();
((SOAPBinding) binding).setMTOMEnabled(true);
}
use of org.apache.cxf.testutil.common.EmbeddedJMSBrokerLauncher in project cxf by apache.
the class JMSWSSecurityTest method startServers.
@BeforeClass
public static void startServers() throws Exception {
broker = new EmbeddedJMSBrokerLauncher("tcp://localhost:" + PORT);
launchServer(broker);
launchServer(new Server(broker));
createStaticBus();
}
use of org.apache.cxf.testutil.common.EmbeddedJMSBrokerLauncher in project cxf by apache.
the class SOAPJMSTestSuiteTest method startServers.
@BeforeClass
public static void startServers() throws Exception {
broker = new EmbeddedJMSBrokerLauncher();
launchServer(broker);
TestSuiteServer.setJndiUrl(broker.getBrokerURL());
assertTrue("server did not launch correctly", launchServer(TestSuiteServer.class, true));
createStaticBus();
}
use of org.apache.cxf.testutil.common.EmbeddedJMSBrokerLauncher in project cxf by apache.
the class ClientServerSwaTest method startServers.
@BeforeClass
public static void startServers() throws Exception {
broker = new EmbeddedJMSBrokerLauncher();
System.setProperty("EmbeddedBrokerURL", broker.getBrokerURL());
launchServer(broker);
launchServer(new Server());
createStaticBus();
}
Aggregations