private void OnMessage(string routingKey, byte[] msg) { _log.LogInformation("Received ping request in pbx listener"); var req = PingRequest.Parser.ParseFrom(msg); var resp = new PingResponse { PingCookie = req.PingCookie }; _ch.Publish(PBXConnectorTopics.PbxPingResponse, resp); }