protected override void SetUp()
 {
     _brilliantQueueName = TestConfig.GetName("trivialroundtrippin");
     _transport          = ActiveMqTransportFactory.CreateTransport(_brilliantQueueName, TimeSpan.FromSeconds(30));
     _transport.Delete();
     _transport.CreateQueue();
 }
        public static void PurgeQueue(string queueName)
        {
            var consoleLoggerFactory = new ConsoleLoggerFactory(false);

            var transport = ActiveMqTransportFactory.CreateTransport(queueName);

            transport.Delete().RunSync();
            transport.CreateQueue();
        }
コード例 #3
0
 public void Dispose()
 {
     ActiveMqTransportFactory.CreateTransport(_queueName, TimeSpan.FromMinutes(5)).Delete().RunSync();
 }