public void SendMetaDataAnswer(string serviceId, MetaDataRequestAnswer metaDataAnswer)
 {
     SendBasicPublish(serviceId, metaDataAnswer.ToByte());
 }
        protected override void OnReceiveConsumer(object sender, BasicDeliverEventArgs ea)
        {
            var metaDataAnswer = MetaDataRequestAnswer.FromBytes(ea.Body);

            OnMetaDataAnswerReceived?.Invoke(this, new MetaDataAnswerReceivedArgs(metaDataAnswer));
        }
 public MetaDataAnswerReceivedArgs(MetaDataRequestAnswer metaDataAnswer)
 {
     MetaDataAnswer = metaDataAnswer;
 }