@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()); }
@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()); }