public void testInOutAckTxRbInError() throws Exception {
createRoute(Transacted.ClientAck, true, false, true);
Channel client = nmr1.createChannel();
Exchange exchange = client.createExchange(Pattern.InOut);
exchange.getIn().setBody(new StringSource("<hello/>"));
exchange.setTarget(nmr1.getEndpointRegistry().lookup(ServiceHelper.createMap(Endpoint.NAME, PROXY_ENDPOINT_NAME)));
assertTrue("sendSync failed for exchange " + exchange.getId(), client.sendSync(exchange));
assertEquals("bad status for exchange " + exchange.getId(), Status.Active, exchange.getStatus());
exchange.setStatus(Status.Done);