use of org.apache.cxf.jms_simple.JMSSimplePortType in project cxf by apache.
the class SOAPJMSTestSuiteTest method test0009.
@Test
public void test0009() throws Exception {
TestCaseType testcase = JMSTestUtil.getTestCase("test0009");
final JMSSimplePortType simplePort = getPort("JMSSimpleService0009", "SimplePort", JMSSimpleService0009.class, JMSSimplePortType.class);
JMSMessageHeadersType requestHeader = new JMSMessageHeadersType();
requestHeader.setJMSDeliveryMode(DeliveryMode.NON_PERSISTENT);
requestHeader.setTimeToLive(10800000);
requestHeader.setJMSPriority(3);
requestHeader.setJMSReplyTo("dynamicQueues/replyqueue00093");
twoWayTestWithRequestHeader(testcase, simplePort, requestHeader);
}
use of org.apache.cxf.jms_simple.JMSSimplePortType in project cxf by apache.
the class SOAPJMSTestSuiteTest method test0005.
@Test
public void test0005() throws Exception {
TestCaseType testcase = JMSTestUtil.getTestCase("test0005");
final JMSSimplePortType simplePort = getPort("JMSSimpleService0005", "SimplePort", JMSSimpleService0005.class, JMSSimplePortType.class);
twoWayTest(testcase, simplePort);
}
use of org.apache.cxf.jms_simple.JMSSimplePortType in project cxf by apache.
the class SOAPJMSTestSuiteTest method test0008.
@Test
public void test0008() throws Exception {
TestCaseType testcase = JMSTestUtil.getTestCase("test0008");
final JMSSimplePortType simplePort = getPort("JMSSimpleService0008", "SimplePort", JMSSimpleService0008.class, JMSSimplePortType.class);
JMSMessageHeadersType requestHeader = new JMSMessageHeadersType();
requestHeader.setJMSDeliveryMode(DeliveryMode.NON_PERSISTENT);
requestHeader.setTimeToLive(14400000);
requestHeader.setJMSPriority(8);
requestHeader.setJMSReplyTo("dynamicQueues/replyqueue0008");
twoWayTestWithRequestHeader(testcase, simplePort, requestHeader);
}
use of org.apache.cxf.jms_simple.JMSSimplePortType in project cxf by apache.
the class SOAPJMSTestSuiteTest method test0001.
@Test
public void test0001() throws Exception {
TestCaseType testcase = JMSTestUtil.getTestCase("test0001");
final JMSSimplePortType simplePort = getPort("JMSSimpleService0001", "SimplePort", JMSSimpleService0001.class, JMSSimplePortType.class);
oneWayTest(testcase, simplePort);
}
use of org.apache.cxf.jms_simple.JMSSimplePortType in project cxf by apache.
the class SOAPJMSTestSuiteTest method test1009.
@Test
public void test1009() throws Exception {
TestCaseType testcase = JMSTestUtil.getTestCase("test1009");
final JMSSimplePortType simplePort = getPort("JMSSimpleService1009", "SimplePort", JMSSimpleService1009.class, JMSSimplePortType.class);
JMSMessageHeadersType requestHeader = new JMSMessageHeadersType();
try {
twoWayTestWithRequestHeader(testcase, simplePort, requestHeader);
} catch (Exception e) {
assertTrue(e.getMessage().contains("Unknow JMS Variant"));
}
}
Aggregations