{
// Create a local tx
currentTxId = parent.getResourceManager().createLocalTx();
}
executor = new ClearableQueuedExecutor(new LinkedQueue());
clientAckList = new ArrayList();
// TODO could optimise this to use the same map of callbackmanagers (which holds refs
// to callbackhandlers) in the connection, instead of maintaining another map