public TransportAndInspector Create(string address) { var transport = new MsmqTransport(address, new ConsoleLoggerFactory(false)); var transportInspector = new MsmqTransportInspector(address); return(new TransportAndInspector(transport, transportInspector)); }
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)); }
public void Setup() { transport = new MsmqTransport { //Todo: Fix //InputQueue = "unittests", //ErrorQueue ="error" }; var inspector = new MsmqTransportInspector(transport); transportInfo = inspector.GetTransportInformation(); }