Ejemplo n.º 1
0
        public static QueueManagerConfiguration GetDefaultConfiguration()
        {
            QueueManagerConfiguration queueManagerConfiguration = new QueueManagerConfiguration()
            {
                MaxTtlSeconds                      = (long)604800,
                MaxMessagesToReturn                = 32,
                DefaultVisibilityTimeoutSeconds    = (long)30,
                MaxVisibilityTimeoutSeconds        = (long)7200,
                MinVisibilityTimeoutSeconds        = (long)1,
                MaxMessagesToReturnForListMessages = 5000
            };

            return(queueManagerConfiguration);
        }
Ejemplo n.º 2
0
 protected RealQueueManager(IStorageManager storageMgr, AuthorizationManager authMgr, QueueManagerConfiguration config)
 {
     this.authorizationManager = authMgr;
     this.storageManager       = storageMgr;
     this.config = config;
 }