public void Send(AcmeMessage message) { var outboundMessage = new XmlOutboundMessage(); message.WriteTo(outboundMessage); outboundMessage.SendVia(_outputSocket); }
public void Send(AcmeMessage message) { var outboundMessage = _outboundMessageFactory.CreateOutboundMessage(); message.WriteTo(outboundMessage); outboundMessage.SendVia(_outputSocket); }
public void Send(AcmeMessage message) { var outboundMessage = ApplicationRoot.Context.Resolve <IOutboundMessage>(); message.WriteTo(outboundMessage); outboundMessage.SendVia(_outputOutputSocket); }
public void Save(AcmeMessage message) { message.WriteTo(_sqlDataDestination); }