txManager.commit();
txManager.rollback();
    public void testTxExceptionRollbackSync() throws Exception {        exceptionToThrow = new RuntimeException("Runtime exception");        exceptionShouldRollback = true;        txManager.begin();        InOnly me = client.createInOnlyExchange();        me.setService(new QName("service"));        me.getInMessage().setContent(new StringSource("<hello>world</hello>"));        boolean ok = client.sendSync(me, 1000);        assertTrue(ok);        assertEquals(Status.STATUS_MARKED_ROLLBACK, txManager.getStatus());        assertEquals(ExchangeStatus.ERROR, me.getStatus());        txManager.commit();    }