boolean transactional = this instanceof XAConnection;
factoryStats = factory.getFactoryStats();
factoryStats.addConnection(this);
stats = new JMSConnectionStatsImpl(sessions, transactional);
this.transientConsumedRedeliverCache = new CopyOnWriteArrayList();
this.tempDestinationMap = new ConcurrentHashMap();
this.validDestinationsMap = new ConcurrentHashMap();
factory.onConnectionCreate(this);
}