96979899100101102103104105106
for (int i = 0; i < aks.length; i++) { acknowledge(consumerExchange, aks[i]); } prepareTransaction(context, xid); } catch (Throwable e) { throw new WrappedException(e); } } }); } catch (WrappedException e) { Throwable cause = e.getCause();
110111112113114115116117118119120
registerMBean(transaction); if (LOG.isDebugEnabled()) { LOG.debug("recovered prepared transaction: " + transaction.getTransactionId()); } } catch (Throwable e) { throw new WrappedException(e); } } }); } catch (WrappedException e) { Throwable cause = e.getCause();
99100101102103104105106107108109
8990919293949596979899
for (int i = 0; i < aks.length; i++) { acknowledge(context, aks[i]); } prepareTransaction(context, xid); } catch (Throwable e) { throw new WrappedException(e); } } }); } catch (WrappedException e) { Throwable cause = e.getCause();
109110111112113114115116117118119
107108109110111112113114115116117
} transaction.setState(Transaction.PREPARED_STATE); registerMBean(transaction); LOG.debug("recovered prepared transaction: {}", transaction.getTransactionId()); } catch (Throwable e) { throw new WrappedException(e); } } }); } catch (WrappedException e) { Throwable cause = e.getCause();