示例#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();
        }