using System.Collections.Generic;
using RabbitMQ.Client;
using xEventService.Constants;
namespace xEventService.Configuration
{
///
/// a configuration class for describing how to connect rabbit mq server
/// and how channels must be declared ...
///
public class XEventServiceConfiguration
{
///
/// Message Broker Address ...
///
public string Url { get; set; }
///
/// Max Retries to Sending Message ...
///
public int MaxRetries { get; set; } = 3;
///
/// Allowed Message Broker ...
///
public XEventBroker Broker { get; set; } = XEventBroker.None;
}
}