try to refactor Kafka and add supports for RabbitMQ ...
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
using System.Collections.Generic;
|
||||
using RabbitMQ.Client;
|
||||
using xEventService.Constants;
|
||||
using xEventService.Models;
|
||||
|
||||
namespace xEventService.Configuration
|
||||
{
|
||||
@@ -24,5 +25,11 @@ namespace xEventService.Configuration
|
||||
/// Allowed Message Broker ...
|
||||
/// </summary>
|
||||
public XEventBroker Broker { get; set; } = XEventBroker.None;
|
||||
|
||||
/// <summary>
|
||||
/// RabbitMQ Specific Options ...
|
||||
/// Only used when Broker is XRabbitMQ ...
|
||||
/// </summary>
|
||||
public XRabbitMQOptions RabbitMQ { get; set; } = new XRabbitMQOptions();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user