예제 #1
0
        public TransportAndInspector Create(string address)
        {
            var transport          = new MsmqTransport(address, new ConsoleLoggerFactory(false));
            var transportInspector = new MsmqTransportInspector(address);

            return(new TransportAndInspector(transport, transportInspector));
        }
예제 #2
0
        public TransportAndInspector Create(string address)
        {
            var transport          = new MsmqTransport(address, new ConsoleLoggerFactory(false), new ExtensionHeaderSerializer());
            var transportInspector = new MsmqTransportInspector(address);

            return(new TransportAndInspector(transport, transportInspector));
        }
예제 #3
0
        public void Setup()
        {
            transport = new MsmqTransport
            {
                //Todo: Fix
                //InputQueue = "unittests",
                //ErrorQueue ="error"
            };

            var inspector = new MsmqTransportInspector(transport);

            transportInfo = inspector.GetTransportInformation();
        }