use of org.apache.cxf.hello_world_jms.HelloWorldServiceRuntimeCorrelationIDDynamicPrefix in project cxf by apache.
the class JMSSharedQueueTest method testTwoWayQueueRuntimeCorrelationDynamicPrefix.
@Test
public void testTwoWayQueueRuntimeCorrelationDynamicPrefix() throws Throwable {
QName serviceName = new QName(SERVICE_NS, "HelloWorldServiceRuntimeCorrelationIDDynamicPrefix");
QName portName = new QName(SERVICE_NS, "HelloWorldPortRuntimeCorrelationIDDynamicPrefix");
URL wsdl = getWSDLURL(WSDL);
HelloWorldServiceRuntimeCorrelationIDDynamicPrefix service = new HelloWorldServiceRuntimeCorrelationIDDynamicPrefix(wsdl, serviceName);
HelloWorldPortType port = markForClose(service.getPort(portName, HelloWorldPortType.class, cff));
Collection<ClientRunnable> clients = new ArrayList<>();
for (int i = 0; i < 10; ++i) {
clients.add(new ClientRunnable(port));
}
executeAsync(clients);
}
Aggregations