Commit 725b4677 authored by yangxiaodong's avatar yangxiaodong

Add ExchangeName and ExchangeType config.

parent b69e355e
......@@ -25,9 +25,17 @@
/// <remarks> PLEASE KEEP THIS MATCHING THE DOC ABOVE.</remarks>
public const string DefaultVHost = "/";
/// <summary>
/// Default exchange name (value: "cap").
/// </summary>
public const string DefaultExchangeName = "cap";
/// <summary>The host to connect to.</summary>
public string HostName { get; set; } = "localhost";
/// <summary> The topic exchange type. </summary>
internal string EXCHANGE_TYPE = "topic";
/// <summary>
/// Password to use when authenticating to the server.
/// </summary>
......@@ -43,6 +51,11 @@
/// </summary>
public string VirtualHost { get; set; } = DefaultVHost;
/// <summary>
/// Topic exchange name when declare a topic exchange.
/// </summary>
public string TopicExchangeName { get; set; } = DefaultExchangeName;
/// <summary>
/// Timeout setting for connection attempts (in milliseconds).
/// </summary>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment