public IEnumerable <Guid> GetCars()
        {
            var message = new GetCarsMessage(Guid.NewGuid(), DateTime.Now);

            _messageSubject.Publish(message);
            return(new Guid[] { message.MessageId });
        }
Beispiel #2
0
 public void Publish(IBaseMessage message)
 {
     _messageObservable.Publish(message);
 }