* @throws JMSException
*/
private Connection createConnection(ActiveMQConnectionRequestInfo info) throws JMSException {
try {
if( info.isUseInboundSessionEnabled() ) {
return new ConnectionProxy();
}
return (Connection) manager.allocateConnection(factory, info);
}
catch (ResourceException e) {
// Throw the root cause if it was a JMSException..