mirror of https://github.com/apache/activemq.git
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:
parent
1651992d10
commit
03a6468d12
|
@ -253,7 +253,7 @@ public class MasterBroker extends InsertableMutableBrokerFilter {
|
|||
*/
|
||||
public int prepareTransaction(ConnectionContext context, TransactionId xid) throws Exception {
|
||||
TransactionInfo info = new TransactionInfo(context.getConnectionId(), xid, TransactionInfo.PREPARE);
|
||||
sendAsyncToSlave(info);
|
||||
sendSyncToSlave(info);
|
||||
int result = super.prepareTransaction(context, xid);
|
||||
return result;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue