protected override void ProcessRecord()
        {
            var config = Settings.ReadConfigurationData(this);

            var qh = new QueueHelper(config);
            qh.ClearAllMessages(Name);
        }
        protected override void ProcessRecord()
        {
            var config = Settings.ReadConfigurationData(this);

            var qh = new QueueHelper(config);

            qh.NewMessage(Name, Message);
        }
        protected override void ProcessRecord()
        {
            var config = Settings.ReadConfigurationData(this);

            var qh = new QueueHelper(config);
            var count = qh.GetMessageCount(Name);

            WriteObject(count);
        }
Ejemplo n.º 4
0
        protected override void ProcessRecord()
        {
            var config = Settings.ReadConfigurationData(this);

            var qh    = new QueueHelper(config);
            var count = qh.GetMessageCount(Name);

            WriteObject(count);
        }