public override string ToString() { if (pipeMessage == null) { pipeMessage = new PipelineMonitorMessage(); } return($"{_timestamp},{_monMessageID},{xid},{type},{topic},{message},{pipeMessage?.ToString()}"); }
public ExchangeMonitorMessage(PipelineMonitorMessage pipeMsg) { _monMessageID = Guid.NewGuid().ToString(); DateTimeOffset dateOffsetValue = DateTime.Now; _timestamp = dateOffsetValue.ToString("dd/MM/yyyy hh:mm:ss.fff tt"); this.pipeMessage = pipeMsg; }
private void MonitorStatusMessage(object sender, PipelineMonitorMessage e) { ExchangeMonitorMessage msg = new ExchangeMonitorMessage(e); msg.type = "PIPELINEMESSAGE"; msg.xid = xid; mon?.Send(msg.ToString()); }
private void MonitorStatusMessage(object sender, QueueMonitorMessage e) { PipelineMonitorMessage msg = new PipelineMonitorMessage(e) { pipeID = this.id, pipeName = this.name, pipemessageType = "QUEUEMESSAGE" }; monitorMessageProgress?.Report(msg); }
public void QXLog(string topic, string message, string messageType) { PipelineMonitorMessage msg = new PipelineMonitorMessage(id, name, topic, message, messageType); monitorMessageProgress?.Report(msg); }