This is used by importing transactions via the Connector contract. @param xid the Xid object representing a transaction.
177178179180181182183184185186187
try { J2EETransactionManager tm = Switch.getSwitch().getTransactionManager(); if (ec != null && ec.getXid() != null) { tm.recreate(ec.getXid(), ec.getTransactionTimeout()); } } catch(WorkException we) { this.exception = we; } catch(Exception e) { setException(e);