this.mc = mc;
try { if (mc.getSession().getTransacted()) mc.getSession().commit(); } catch (JMSException e) { throw new JBossResourceException("Could not commit LocalTransaction", e); }
try { if (mc.getSession().getTransacted()) mc.getSession().rollback(); } catch (JMSException ex) { throw new JBossResourceException("Could not rollback LocalTransaction", ex); }