lib/common/subscription.js
function Subscription (queue, options) {
        assert.object(queue, 'queue');
        assert.object(options, 'options');

        this.MAX_DISPOSE_RETRIES = 3;
        this.retryDelay = 1000;
        this.queue = queue;
        this.options = options;
        this._disposed = false;
    }
function Subscription (queue, options) {
        assert.object(queue, 'queue');
        assert.object(options, 'options');

        this.MAX_DISPOSE_RETRIES = 3;
        this.retryDelay = 1000;
        this.queue = queue;
        this.options = options;
        this._disposed = false;
    }
function Subscription ( queue , options ) { assert . object ( queue , 'queue' ) ; assert . object ( options , 'options' ) ; this . MAX_DISPOSE_RETRIES = 3 ; this . retryDelay = 1000 ; this . queue = queue ; this . options = options ; this . _disposed = false ; }
Creates a new subscription to a queue
@param queue {string}
@constructor
Creates a new subscription to a queue