예제 #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);
            }