Extends the basic Connection class to provide a transacted Connection instance that operates within the bounds of a .NET Scoped Transaction. The default Session creation methods of Connection are overriden here to always return a TX capable session instance.
Inheritance: Connection, INetTxConnection
        protected override Connection CreateActiveMQConnection(ITransport transport)
        {
            NetTxConnection connection = new NetTxConnection(this.BrokerUri, transport, this.ClientIdGenerator);

            connection.RecoveryPolicy = this.recoveryPolicy.Clone() as NetTxRecoveryPolicy;

            return connection;
        }
        protected override Connection CreateActiveMQConnection(ITransport transport)
        {
            NetTxConnection connection = new NetTxConnection(this.BrokerUri, transport, this.ClientIdGenerator);

            connection.RecoveryPolicy = this.recoveryPolicy.Clone() as NetTxRecoveryPolicy;

            return(connection);
        }