protected override void OnStart(string[] args)
        {
            try
            {
                RoutingKey r = RoutingKey.Settings;
                Dictionary<string, List<Dictionary<string, string>>> config = new Dictionary<string, List<Dictionary<string, string>>>();
                List<Dictionary<string, string>> inner = new List<Dictionary<string, string>>();

                inner.Add(new Dictionary<string, string>() { { "redeliver_attempts", r.Parameters[0].redeliverAttempts } });
                inner.Add(new Dictionary<string, string>() { { "redeliver_delay", r.Parameters[0].redeliverDelay } });
                inner.Add(new Dictionary<string, string>() { { "redeliver_attempts", r.Parameters[0].manualAck } });
                //inner.Add(r.Parameters[0].redeliverAttempts, r.Parameters[0].redeliverDelay, r.Parameters[0].manualAck);
                config.Add(r.Parameters[0].Name, inner);
                object obj = new Object();
                e = new AccountExchange.AccountExchange(config, "xbill", obj, "AccountExchange");
            }
            catch (Exception x)
            {
                this.EventLog.WriteEntry("AccountExchange exception: " + x);
            }
            this.EventLog.WriteEntry("AltitudeAccountHandlerService has started");
        }
 protected override void OnStop()
 {
     e = null;
     this.EventLog.WriteEntry("AltitudeAccountHandlerService has stopped");
 }