コード例 #1
0
        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);
        }
コード例 #2
0
 public QueueForBuffer(IBusMessageSender client)
 {
     this.client = client;
 }
コード例 #3
0
 public CompanyQueuer(IBusQueueClient client)
     : base(5)
 {
     this.queue = new BusMessageSender(client);
 }
コード例 #4
0
 public EmployeeQueuer(IBusTopicClient client)
     : base(5)
 {
     this.queue = new BusMessageSender(client);
 }
コード例 #5
0
 public QueueForAction(IBusMessageSender client, string action)
     : base(30)
 {
     this.client = client;
     this.action = action;
 }