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(); }
public void Dispose() { ActiveMqTransportFactory.CreateTransport(_queueName, TimeSpan.FromMinutes(5)).Delete().RunSync(); }