protected override void SetUp()
 {
     _brilliantQueueName = TestConfig.GetName("trivialroundtrippin");
     _transport          = ActiveMqTransportFactory.CreateTransport(_brilliantQueueName, TimeSpan.FromSeconds(30));
     _transport.Delete();
     _transport.CreateQueue();
 }
Exemplo n.º 2
0
        public static ActiveMqTransport CreateTransport(string inputQueueAddress, IActiveMqTransportSettings options = null)
        {
            var activeMqTransportSettings = options ?? new ActiveMqTransportSettings();

            activeMqTransportSettings.SetActiveMqTransportSettings(inputQueueAddress);

            var consoleLoggerFactory = new ConsoleLoggerFactory(false);

            var transport = new ActiveMqTransport(activeMqTransportSettings);

            return(transport);
        }