Remove Old Stuffs for Refactor xEvent Service for Kafka and RabbitMQ ...

This commit is contained in:
2026-08-18 00:00:27 +03:30
parent a94013b591
commit 699fc721f5
18 changed files with 296 additions and 989 deletions
+40
View File
@@ -0,0 +1,40 @@
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace xEventService.Models
{
/// <summary>
/// a Message Descriptor for Events ...
/// </summary>
public class XEventMessage
{
/// <summary>
/// Specified Action for Fire ...
/// </summary>
[JsonRequired]
public string Action { get; set; }
/// <summary>
/// Specified Action Sender ...
/// </summary>
[JsonRequired]
public string Sender { get; set; }
/// <summary>
/// Sending Time ...
/// </summary>
[JsonRequired]
public DateTime Offset { get; set; }
/// <summary>
/// Specified Message ...
/// </summary>
public string Message { get; set; }
/// <summary>
/// Metadata for Message ...
/// </summary>
public IDictionary<string, string> Payload { get; set; } = new Dictionary<string, string>();
}
}