*
* @see org.activemq.broker.Broker#prepareTransaction(org.activemq.broker.BrokerClient, org.activemq.message.ActiveMQXid)
*/
public int prepareTransaction(BrokerClient client, ActiveMQXid xid) throws XAException {
Transaction transaction = transactionManager.getXATransaction(xid);
return transaction.prepare();
}
/**
* Rollback an XA Transaction.
*