Пример #1
0
 @Test
 public void testInFaultMessageTrace() throws Exception {
   ServiceReference service =
       _domain.registerService(new QName("InFaultTrace"), new MockHandler().forwardInToFault());
   Exchange exchange = _domain.createExchange(service, ExchangeContract.IN_OUT, new MockHandler());
   exchange.send(exchange.createMessage());
 }
Пример #2
0
 @Test
 public void testInMessageTrace() {
   ServiceReference service = _domain.registerService(new QName("InTrace"), new MockHandler());
   Exchange exchange = _domain.createExchange(service, ExchangeContract.IN_ONLY);
   exchange.send(exchange.createMessage());
 }