Exemplo n.º 1
0
        // TODO -- make it fancier later and copy envelope headers
        public void MoveToErrors(ErrorReport report)
        {
            var uri = (_parent.Uri.ToString() + "errors").ToUri();

            InMemoryQueueManager.QueueFor(uri).Enqueue(new EnvelopeToken
            {
                Message = report
            });
        }
Exemplo n.º 2
0
 public InMemoryChannel(Uri address)
 {
     Address = address;
     _queue  = InMemoryQueueManager.QueueFor(Address);
 }