コード例 #1
0
        public void Publish(object msg, IMessageMetadata metadata)
        {
            _local.Publish(msg);
            var messageMetadataEnvelop = MessageMetadataEnvelop.NewGeneric(msg, metadata);

            _remoteSubscriber.Ask <PublishAck>(new Publish(messageMetadataEnvelop), _timeout).Wait();
        }
コード例 #2
0
 public void Publish(object msg, IMessageMetadata metadata)
 {
     _log.Trace("Publishing {@Message} to transport with metadata {@metadata}", msg, metadata);
     _bus.Publish(MessageMetadataEnvelop.NewGeneric(msg, metadata));
 }
コード例 #3
0
 public void Publish(object msg, IMessageMetadata metadata)
 {
     Publish(MessageMetadataEnvelop.NewGeneric(msg, metadata));
 }