Ejemplo n.º 1
0
        public void Send(AcmeMessage message)
        {
            var outboundMessage = new XmlOutboundMessage();

            message.WriteTo(outboundMessage);
            outboundMessage.SendVia(_outputSocket);
        }
Ejemplo n.º 2
0
        public void Send(AcmeMessage message)
        {
            var outboundMessage = _outboundMessageFactory.CreateOutboundMessage();

            message.WriteTo(outboundMessage);
            outboundMessage.SendVia(_outputSocket);
        }
Ejemplo n.º 3
0
        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);
 }