示例#1
0
            public QueueMonitorGroup(ActivationService activationService, ListenerAdapter la, App app)
            {
                this.activationService = activationService;
                this.listenerAdapter   = la;
                this.app = app;
                this.startQueueInstanceCount = 1;
                this.listenerChannelContext  = new ListenerChannelContext(app.AppKey,
                                                                          Interlocked.Increment(ref queueIdCounter), Guid.Empty);

                this.pendingNotificationCount = 0;
                this.filter     = new ActivationBindingFilter(this, app.Path);
                this.retryTimer = new IOThreadTimer(new Action <object>(OnRetryTimer), null, false);
            }
示例#2
0
        public MsmqActivation()
        {
            ServiceName         = ListenerConstants.MsmqActivationServiceName;
            CanHandlePowerEvent = false;
            AutoLog             = false;
            CanStop             = true;
            CanPauseAndContinue = true;
            CanShutdown         = true;

            this.bindings = new BindingsManager();

            this.integrationActivationService = new ActivationService(this, MsmqUri.FormatNameAddressTranslator.Scheme);
            this.transportActivationService   = new ActivationService(this, MsmqUri.NetMsmqAddressTranslator.Scheme);
        }
示例#3
0
        public MsmqActivation()
        {
            ServiceName = ListenerConstants.MsmqActivationServiceName;
            CanHandlePowerEvent = false;
            AutoLog = false;
            CanStop = true;
            CanPauseAndContinue = true;
            CanShutdown = true;

            this.bindings = new BindingsManager();

            this.integrationActivationService = new ActivationService(this, MsmqUri.FormatNameAddressTranslator.Scheme);
            this.transportActivationService = new ActivationService(this, MsmqUri.NetMsmqAddressTranslator.Scheme);
        }
示例#4
0
            public QueueMonitorGroup(ActivationService activationService, ListenerAdapter la, App app)
            {
                this.activationService = activationService;
                this.listenerAdapter = la;
                this.app = app;
                this.startQueueInstanceCount = 1;
                this.listenerChannelContext = new ListenerChannelContext(app.AppKey,
                    Interlocked.Increment(ref queueIdCounter), Guid.Empty);

                this.pendingNotificationCount = 0;
                this.filter = new ActivationBindingFilter(this, app.Path);
                this.retryTimer = new IOThreadTimer(new Action<object>(OnRetryTimer), null, false);
            }