public void Setup()
        {
            var random = new Random();

            name = string.Format("a{0}b", random.Next());

            //var bq = new BusQueue(name, Configuration.ConnectionString);
            //bq.CreateIfNotExists().Wait();

            sender = new BusQueueSender(name, Configuration.ConnectionString);

            reciever = new BusQueueReciever(name, Configuration.ConnectionString);
        }
 public QueueForBuffer(IBusMessageSender client)
 {
     this.client = client;
 }
 public CompanyQueuer(IBusQueueClient client)
     : base(5)
 {
     this.queue = new BusMessageSender(client);
 }
Beispiel #4
0
 public EmployeeQueuer(IBusTopicClient client)
     : base(5)
 {
     this.queue = new BusMessageSender(client);
 }
 public QueueForAction(IBusMessageSender client, string action)
     : base(30)
 {
     this.client = client;
     this.action = action;
 }