Complete xEventService ...

This commit is contained in:
2026-08-19 22:44:39 +03:30
parent e05420b1aa
commit 079048dff5
8 changed files with 389 additions and 27 deletions
+5 -3
View File
@@ -143,7 +143,7 @@ namespace xEventService.Providers
{
//
// Ensure Connection is Alive ...
EnsureChannelAsync();
EnsureChannel();
//
// Serialize Message ...
@@ -181,8 +181,10 @@ namespace xEventService.Providers
//
result = true;
}
catch
catch (Exception ex)
{
//
logger.LogError($"RabbitMQ Produce Error: {ex.Message} ...");
result = false;
}
@@ -268,7 +270,7 @@ namespace xEventService.Providers
/// <summary>
/// Ensure Channel is Open and Exchange/Queue Declared ...
/// </summary>
private void EnsureChannelAsync()
private void EnsureChannel()
{
//
if (IsConnected())