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

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