Exemple #1
0
        void CompleteAppCreation(App app, string[] bindings)
        {
            IActivatedMessageQueue queue = activationService.CreateQueue(this, app);

            app.RegisterQueue(queue);

            bool success = RegisterBindings(app.MessageQueue, app.SiteId, bindings, app.Path);

            app.OnInvalidBinding(!success);
        }
Exemple #2
0
        internal void RegisterNewBindings(App app, string[] bindings)
        {
            Debug.Print("ListenerAdapter[" + ProtocolName + "]::RegisterNewBindings(" + app.AppKey + ")");
            // we could be smart-er and leave the bindings that have not changed alone

            app.MessageQueue.UnregisterAll();

            bool success = RegisterBindings(app.MessageQueue, app.SiteId, bindings, app.Path);

            app.OnInvalidBinding(!success);
        }
        void CompleteAppCreation(App app, string[] bindings)
        {
            IActivatedMessageQueue queue = activationService.CreateQueue(this, app);
            app.RegisterQueue(queue);

            bool success = RegisterBindings(app.MessageQueue, app.SiteId, bindings, app.Path);
            app.OnInvalidBinding(!success);
        }
        internal void RegisterNewBindings(App app, string[] bindings)
        {
            Debug.Print("ListenerAdapter[" + ProtocolName + "]::RegisterNewBindings(" + app.AppKey + ")");
            // we could be smart-er and leave the bindings that have not changed alone

            app.MessageQueue.UnregisterAll();

            bool success = RegisterBindings(app.MessageQueue, app.SiteId, bindings, app.Path);
            app.OnInvalidBinding(!success);
        }