resolve AMQ-1983

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@708548 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2008-10-28 12:07:27 +00:00
parent 1651992d10
commit 03a6468d12
1 changed files with 1 additions and 1 deletions

View File

@ -253,7 +253,7 @@ public class MasterBroker extends InsertableMutableBrokerFilter {
*/ */
public int prepareTransaction(ConnectionContext context, TransactionId xid) throws Exception { public int prepareTransaction(ConnectionContext context, TransactionId xid) throws Exception {
TransactionInfo info = new TransactionInfo(context.getConnectionId(), xid, TransactionInfo.PREPARE); TransactionInfo info = new TransactionInfo(context.getConnectionId(), xid, TransactionInfo.PREPARE);
sendAsyncToSlave(info); sendSyncToSlave(info);
int result = super.prepareTransaction(context, xid); int result = super.prepareTransaction(context, xid);
return result; return result;
} }