return Switch.getSwitch().getTransactionManager();
MessageExchange me = meTransport.getMessageExchange(); if(!isTxEnabled(me)) return; suspendTx(me);
MessageExchange me = meTransport.getMessageExchange(); if(!isTxEnabled(me)) return; resumeTx(me);
return ((tx_enable==null || tx_enable.equalsIgnoreCase("true")));
TransactionManager tm = getTM(); Transaction tx = (Transaction)me.getProperty(MessageExchange.JTA_TRANSACTION_PROPERTY_NAME); if(tx != null) { if(me.getStatus().equals(ExchangeStatus.ERROR)) tx.setRollbackOnly(); tm.resume(tx); }
TransactionManager tm = getTM(); Transaction tx = tm.getTransaction(); if (tx != null) { if(me.getStatus().equals(ExchangeStatus.ERROR)) tx.setRollbackOnly(); tx = tm.suspend(); me.setProperty(MessageExchange.JTA_TRANSACTION_PROPERTY_NAME, tx); }