allocationRetryWaitMillis = dataSourceConfig.getTimeOut().getAllocationRetryWaitMillis();
}
// Select the correct connection manager
final TransactionSupport.TransactionSupportLevel tsl = TransactionSupport.TransactionSupportLevel.LocalTransaction;
final ConnectionManagerFactory cmf = new ConnectionManagerFactory();
final ConnectionManager cm = cmf.createTransactional(tsl, pool, null, null, allocationRetry, allocationRetryWaitMillis,
getTransactionIntegration(), null, null, null, null, null);
cm.setJndiName(jndiName);
return cm;
}